File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -3,6 +3,13 @@ declare module "solc" {
3
3
export function semver ( ) : string ;
4
4
export function license ( ) : string ;
5
5
6
+ export let lowlevel : {
7
+ compileSingle : function ( input : string ) : string ;
8
+ compileMulti : function ( input : string ) : string ;
9
+ compileCallback : function ( input : string ) : string ;
10
+ compileStandard : function ( input : string ) : string ;
11
+ } ;
12
+
6
13
export let features : {
7
14
legacySingleInput : boolean ,
8
15
multipleInputs : boolean ,
@@ -12,5 +19,6 @@ declare module "solc" {
12
19
13
20
export type ReadCallbackResult = { contents : string } | { error : string } ;
14
21
export type ReadCallback = ( path : string ) => ReadCallbackResult ;
15
- export function compile ( input : string , readCallback ?: ReadCallback ) : string ;
22
+ export type Callbacks = { import : ReadCallback } ;
23
+ export function compile ( input : string , readCallback ?: Callbacks | ReadCallback ) : string ;
16
24
}
You can’t perform that action at this time.
0 commit comments