File tree 1 file changed +17
-8
lines changed
1 file changed +17
-8
lines changed Original file line number Diff line number Diff line change 1
1
/*
2
- * Copyright (c) 2019-2020 Bradley Farias
2
+ * Copyright (c) 2022 Richard Lea
3
3
*
4
4
* This file is part of the Moddable SDK Tools.
5
5
*
18
18
*
19
19
*/
20
20
21
- declare module "Resource" {
22
- class Resource extends HostBuffer {
23
- constructor ( path : string ) ;
24
- slice ( begin : number , end ?: number ) : ArrayBuffer ;
25
- slice ( begin : number , end ?: number , copy ?: boolean ) : HostBuffer ;
26
- static exists ( path : string ) : boolean ;
21
+ /**
22
+ * The `console` module uses `cli` modules to implement the terminal commands.
23
+ */
24
+ declare module "console" {
25
+
26
+ /**
27
+ * The `Console` class implements a serial terminal for debugging and diagnostic purposes.
28
+ */
29
+ export class Console {
30
+ receive ( ) : void
31
+ write ( ) : void
32
+ resume ( ) : void
33
+ suspend ( ) : void
34
+ prompt ( ) : void
35
+ line ( ...items : any ) : void
27
36
}
28
37
29
- export { Resource as default } ;
38
+ export { Console as default } ;
30
39
}
You can’t perform that action at this time.
0 commit comments