File tree Expand file tree Collapse file tree 6 files changed +51
-18
lines changed Expand file tree Collapse file tree 6 files changed +51
-18
lines changed Original file line number Diff line number Diff line change @@ -435,7 +435,8 @@ declare namespace WebAssembly {
435435
436436 var CompileError : {
437437 prototype : CompileError ;
438- new ( ) : CompileError ;
438+ new ( message ?: string ) : CompileError ;
439+ ( message ?: string ) : CompileError ;
439440 } ;
440441
441442 interface Global {
@@ -462,7 +463,8 @@ declare namespace WebAssembly {
462463
463464 var LinkError : {
464465 prototype : LinkError ;
465- new ( ) : LinkError ;
466+ new ( message ?: string ) : LinkError ;
467+ ( message ?: string ) : LinkError ;
466468 } ;
467469
468470 interface Memory {
@@ -491,7 +493,8 @@ declare namespace WebAssembly {
491493
492494 var RuntimeError : {
493495 prototype : RuntimeError ;
494- new ( ) : RuntimeError ;
496+ new ( message ?: string ) : RuntimeError ;
497+ ( message ?: string ) : RuntimeError ;
495498 } ;
496499
497500 interface Table {
Original file line number Diff line number Diff line change @@ -16555,7 +16555,8 @@ declare namespace WebAssembly {
1655516555
1655616556 var CompileError: {
1655716557 prototype: CompileError;
16558- new(): CompileError;
16558+ new(message?: string): CompileError;
16559+ (message?: string): CompileError;
1655916560 };
1656016561
1656116562 interface Global {
@@ -16582,7 +16583,8 @@ declare namespace WebAssembly {
1658216583
1658316584 var LinkError: {
1658416585 prototype: LinkError;
16585- new(): LinkError;
16586+ new(message?: string): LinkError;
16587+ (message?: string): LinkError;
1658616588 };
1658716589
1658816590 interface Memory {
@@ -16611,7 +16613,8 @@ declare namespace WebAssembly {
1661116613
1661216614 var RuntimeError: {
1661316615 prototype: RuntimeError;
16614- new(): RuntimeError;
16616+ new(message?: string): RuntimeError;
16617+ (message?: string): RuntimeError;
1661516618 };
1661616619
1661716620 interface Table {
Original file line number Diff line number Diff line change @@ -5108,7 +5108,8 @@ declare namespace WebAssembly {
51085108
51095109 var CompileError : {
51105110 prototype : CompileError ;
5111- new ( ) : CompileError ;
5111+ new ( message ?: string ) : CompileError ;
5112+ ( message ?: string ) : CompileError ;
51125113 } ;
51135114
51145115 interface Global {
@@ -5135,7 +5136,8 @@ declare namespace WebAssembly {
51355136
51365137 var LinkError : {
51375138 prototype : LinkError ;
5138- new ( ) : LinkError ;
5139+ new ( message ?: string ) : LinkError ;
5140+ ( message ?: string ) : LinkError ;
51395141 } ;
51405142
51415143 interface Memory {
@@ -5164,7 +5166,8 @@ declare namespace WebAssembly {
51645166
51655167 var RuntimeError : {
51665168 prototype : RuntimeError ;
5167- new ( ) : RuntimeError ;
5169+ new ( message ?: string ) : RuntimeError ;
5170+ ( message ?: string ) : RuntimeError ;
51685171 } ;
51695172
51705173 interface Table {
Original file line number Diff line number Diff line change @@ -5137,7 +5137,8 @@ declare namespace WebAssembly {
51375137
51385138 var CompileError : {
51395139 prototype : CompileError ;
5140- new ( ) : CompileError ;
5140+ new ( message ?: string ) : CompileError ;
5141+ ( message ?: string ) : CompileError ;
51415142 } ;
51425143
51435144 interface Global {
@@ -5164,7 +5165,8 @@ declare namespace WebAssembly {
51645165
51655166 var LinkError : {
51665167 prototype : LinkError ;
5167- new ( ) : LinkError ;
5168+ new ( message ?: string ) : LinkError ;
5169+ ( message ?: string ) : LinkError ;
51685170 } ;
51695171
51705172 interface Memory {
@@ -5193,7 +5195,8 @@ declare namespace WebAssembly {
51935195
51945196 var RuntimeError : {
51955197 prototype : RuntimeError ;
5196- new ( ) : RuntimeError ;
5198+ new ( message ?: string ) : RuntimeError ;
5199+ ( message ?: string ) : RuntimeError ;
51975200 } ;
51985201
51995202 interface Table {
Original file line number Diff line number Diff line change @@ -5351,7 +5351,8 @@ declare namespace WebAssembly {
53515351
53525352 var CompileError : {
53535353 prototype : CompileError ;
5354- new ( ) : CompileError ;
5354+ new ( message ?: string ) : CompileError ;
5355+ ( message ?: string ) : CompileError ;
53555356 } ;
53565357
53575358 interface Global {
@@ -5378,7 +5379,8 @@ declare namespace WebAssembly {
53785379
53795380 var LinkError : {
53805381 prototype : LinkError ;
5381- new ( ) : LinkError ;
5382+ new ( message ?: string ) : LinkError ;
5383+ ( message ?: string ) : LinkError ;
53825384 } ;
53835385
53845386 interface Memory {
@@ -5407,7 +5409,8 @@ declare namespace WebAssembly {
54075409
54085410 var RuntimeError : {
54095411 prototype : RuntimeError ;
5410- new ( ) : RuntimeError ;
5412+ new ( message ?: string ) : RuntimeError ;
5413+ ( message ?: string ) : RuntimeError ;
54115414 } ;
54125415
54135416 interface Table {
Original file line number Diff line number Diff line change 302302 "CompileError" : {
303303 "name" : " CompileError" ,
304304 "extends" : " Error" ,
305- "legacyNamespace" : " WebAssembly"
305+ "legacyNamespace" : " WebAssembly" ,
306+ "constructor" : {
307+ "overrideSignatures" : [
308+ " new(message?: string): CompileError" ,
309+ " (message?: string): CompileError"
310+ ]
311+ }
306312 },
307313 "DeviceMotionEventAcceleration" : {
308314 "noInterfaceObject" : true
859865 "RuntimeError" : {
860866 "name" : " RuntimeError" ,
861867 "extends" : " Error" ,
862- "legacyNamespace" : " WebAssembly"
868+ "legacyNamespace" : " WebAssembly" ,
869+ "constructor" : {
870+ "overrideSignatures" : [
871+ " new(message?: string): RuntimeError" ,
872+ " (message?: string): RuntimeError"
873+ ]
874+ }
863875 },
864876 "SVGStyleElement" : {
865877 "properties" : {
874886 "LinkError" : {
875887 "name" : " LinkError" ,
876888 "extends" : " Error" ,
877- "legacyNamespace" : " WebAssembly"
889+ "legacyNamespace" : " WebAssembly" ,
890+ "constructor" : {
891+ "overrideSignatures" : [
892+ " new(message?: string): LinkError" ,
893+ " (message?: string): LinkError"
894+ ]
895+ }
878896 },
879897 "MediaRecorder" : {
880898 "events" : {
You can’t perform that action at this time.
0 commit comments