@moonbit/moonpad-monaco 0.1.202412230 → 0.1.202501020

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3,6 +3,7 @@ declare function compile(params: CompileParams): Promise<CompileResult>;
3
3
  declare type CompileParams = {
4
4
  libContents: string[];
5
5
  testContents?: string[];
6
+ debugMain?: boolean;
6
7
  };
7
8
 
8
9
  declare type CompileResult = {
@@ -48,9 +49,9 @@ declare type Position = {
48
49
  col: number;
49
50
  };
50
51
 
51
- declare function run(js: Uint8Array): Promise<ReadableStream<string>>;
52
+ declare function run(js: Uint8Array): ReadableStream<string>;
52
53
 
53
- declare function test(js: Uint8Array): Promise<ReadableStream<TestOutput>>;
54
+ declare function test(js: Uint8Array): ReadableStream<TestOutput>;
54
55
 
55
56
  declare type TestOutput = {
56
57
  kind: "stdout";