@@ -62,7 +62,7 @@ declare module "@webassemblyjs/ast" {
6262 name : string ;
6363 descr : ModuleExportDescr ;
6464 }
65- type Index = Identifier | NumberLiteral ;
65+ type Index = Identifier | NumberLiteral ;
6666 export class ModuleExportDescr extends Node {
6767 exportType : string ;
6868 id : Index ;
@@ -89,7 +89,12 @@ declare module "@webassemblyjs/ast" {
8989 export class IndexInFuncSection extends Node { }
9090 export function indexLiteral ( index : number ) : Index ;
9191 export function numberLiteralFromRaw ( num : number ) : NumberLiteral ;
92- export function floatLiteral ( value : number , nan ?: boolean , inf ?: boolean , raw ?: string ) : FloatLiteral ;
92+ export function floatLiteral (
93+ value : number ,
94+ nan ?: boolean ,
95+ inf ?: boolean ,
96+ raw ?: string
97+ ) : FloatLiteral ;
9398 export function global ( globalType : string , nodes : Node [ ] ) : Global ;
9499 export function identifier ( indentifier : string ) : Identifier ;
95100 export function funcParam ( valType : string , id : Identifier ) : FuncParam ;
@@ -102,7 +107,10 @@ declare module "@webassemblyjs/ast" {
102107 ) : ObjectInstruction ;
103108 export function signature ( params : FuncParam [ ] , results : string [ ] ) : Signature ;
104109 export function func ( initFuncId , Signature , funcBody ) : Func ;
105- export function typeInstruction ( id : Identifier , functype : Signature ) : TypeInstruction ;
110+ export function typeInstruction (
111+ id : Identifier ,
112+ functype : Signature
113+ ) : TypeInstruction ;
106114 export function indexInFuncSection ( index : Index ) : IndexInFuncSection ;
107115 export function moduleExport (
108116 identifier : string ,
0 commit comments