File tree 6 files changed +51
-18
lines changed
6 files changed +51
-18
lines changed Original file line number Diff line number Diff line change @@ -435,7 +435,8 @@ declare namespace WebAssembly {
435
435
436
436
var CompileError : {
437
437
prototype : CompileError ;
438
- new ( ) : CompileError ;
438
+ new ( message ?: string ) : CompileError ;
439
+ ( message ?: string ) : CompileError ;
439
440
} ;
440
441
441
442
interface Global {
@@ -462,7 +463,8 @@ declare namespace WebAssembly {
462
463
463
464
var LinkError : {
464
465
prototype : LinkError ;
465
- new ( ) : LinkError ;
466
+ new ( message ?: string ) : LinkError ;
467
+ ( message ?: string ) : LinkError ;
466
468
} ;
467
469
468
470
interface Memory {
@@ -491,7 +493,8 @@ declare namespace WebAssembly {
491
493
492
494
var RuntimeError : {
493
495
prototype : RuntimeError ;
494
- new ( ) : RuntimeError ;
496
+ new ( message ?: string ) : RuntimeError ;
497
+ ( message ?: string ) : RuntimeError ;
495
498
} ;
496
499
497
500
interface Table {
Original file line number Diff line number Diff line change @@ -16555,7 +16555,8 @@ declare namespace WebAssembly {
16555
16555
16556
16556
var CompileError: {
16557
16557
prototype: CompileError;
16558
- new(): CompileError;
16558
+ new(message?: string): CompileError;
16559
+ (message?: string): CompileError;
16559
16560
};
16560
16561
16561
16562
interface Global {
@@ -16582,7 +16583,8 @@ declare namespace WebAssembly {
16582
16583
16583
16584
var LinkError: {
16584
16585
prototype: LinkError;
16585
- new(): LinkError;
16586
+ new(message?: string): LinkError;
16587
+ (message?: string): LinkError;
16586
16588
};
16587
16589
16588
16590
interface Memory {
@@ -16611,7 +16613,8 @@ declare namespace WebAssembly {
16611
16613
16612
16614
var RuntimeError: {
16613
16615
prototype: RuntimeError;
16614
- new(): RuntimeError;
16616
+ new(message?: string): RuntimeError;
16617
+ (message?: string): RuntimeError;
16615
16618
};
16616
16619
16617
16620
interface Table {
Original file line number Diff line number Diff line change @@ -5108,7 +5108,8 @@ declare namespace WebAssembly {
5108
5108
5109
5109
var CompileError : {
5110
5110
prototype : CompileError ;
5111
- new ( ) : CompileError ;
5111
+ new ( message ?: string ) : CompileError ;
5112
+ ( message ?: string ) : CompileError ;
5112
5113
} ;
5113
5114
5114
5115
interface Global {
@@ -5135,7 +5136,8 @@ declare namespace WebAssembly {
5135
5136
5136
5137
var LinkError : {
5137
5138
prototype : LinkError ;
5138
- new ( ) : LinkError ;
5139
+ new ( message ?: string ) : LinkError ;
5140
+ ( message ?: string ) : LinkError ;
5139
5141
} ;
5140
5142
5141
5143
interface Memory {
@@ -5164,7 +5166,8 @@ declare namespace WebAssembly {
5164
5166
5165
5167
var RuntimeError : {
5166
5168
prototype : RuntimeError ;
5167
- new ( ) : RuntimeError ;
5169
+ new ( message ?: string ) : RuntimeError ;
5170
+ ( message ?: string ) : RuntimeError ;
5168
5171
} ;
5169
5172
5170
5173
interface Table {
Original file line number Diff line number Diff line change @@ -5137,7 +5137,8 @@ declare namespace WebAssembly {
5137
5137
5138
5138
var CompileError : {
5139
5139
prototype : CompileError ;
5140
- new ( ) : CompileError ;
5140
+ new ( message ?: string ) : CompileError ;
5141
+ ( message ?: string ) : CompileError ;
5141
5142
} ;
5142
5143
5143
5144
interface Global {
@@ -5164,7 +5165,8 @@ declare namespace WebAssembly {
5164
5165
5165
5166
var LinkError : {
5166
5167
prototype : LinkError ;
5167
- new ( ) : LinkError ;
5168
+ new ( message ?: string ) : LinkError ;
5169
+ ( message ?: string ) : LinkError ;
5168
5170
} ;
5169
5171
5170
5172
interface Memory {
@@ -5193,7 +5195,8 @@ declare namespace WebAssembly {
5193
5195
5194
5196
var RuntimeError : {
5195
5197
prototype : RuntimeError ;
5196
- new ( ) : RuntimeError ;
5198
+ new ( message ?: string ) : RuntimeError ;
5199
+ ( message ?: string ) : RuntimeError ;
5197
5200
} ;
5198
5201
5199
5202
interface Table {
Original file line number Diff line number Diff line change @@ -5351,7 +5351,8 @@ declare namespace WebAssembly {
5351
5351
5352
5352
var CompileError : {
5353
5353
prototype : CompileError ;
5354
- new ( ) : CompileError ;
5354
+ new ( message ?: string ) : CompileError ;
5355
+ ( message ?: string ) : CompileError ;
5355
5356
} ;
5356
5357
5357
5358
interface Global {
@@ -5378,7 +5379,8 @@ declare namespace WebAssembly {
5378
5379
5379
5380
var LinkError : {
5380
5381
prototype : LinkError ;
5381
- new ( ) : LinkError ;
5382
+ new ( message ?: string ) : LinkError ;
5383
+ ( message ?: string ) : LinkError ;
5382
5384
} ;
5383
5385
5384
5386
interface Memory {
@@ -5407,7 +5409,8 @@ declare namespace WebAssembly {
5407
5409
5408
5410
var RuntimeError : {
5409
5411
prototype : RuntimeError ;
5410
- new ( ) : RuntimeError ;
5412
+ new ( message ?: string ) : RuntimeError ;
5413
+ ( message ?: string ) : RuntimeError ;
5411
5414
} ;
5412
5415
5413
5416
interface Table {
Original file line number Diff line number Diff line change 302
302
"CompileError" : {
303
303
"name" : " CompileError" ,
304
304
"extends" : " Error" ,
305
- "legacyNamespace" : " WebAssembly"
305
+ "legacyNamespace" : " WebAssembly" ,
306
+ "constructor" : {
307
+ "overrideSignatures" : [
308
+ " new(message?: string): CompileError" ,
309
+ " (message?: string): CompileError"
310
+ ]
311
+ }
306
312
},
307
313
"DeviceMotionEventAcceleration" : {
308
314
"noInterfaceObject" : true
859
865
"RuntimeError" : {
860
866
"name" : " RuntimeError" ,
861
867
"extends" : " Error" ,
862
- "legacyNamespace" : " WebAssembly"
868
+ "legacyNamespace" : " WebAssembly" ,
869
+ "constructor" : {
870
+ "overrideSignatures" : [
871
+ " new(message?: string): RuntimeError" ,
872
+ " (message?: string): RuntimeError"
873
+ ]
874
+ }
863
875
},
864
876
"SVGStyleElement" : {
865
877
"properties" : {
874
886
"LinkError" : {
875
887
"name" : " LinkError" ,
876
888
"extends" : " Error" ,
877
- "legacyNamespace" : " WebAssembly"
889
+ "legacyNamespace" : " WebAssembly" ,
890
+ "constructor" : {
891
+ "overrideSignatures" : [
892
+ " new(message?: string): LinkError" ,
893
+ " (message?: string): LinkError"
894
+ ]
895
+ }
878
896
},
879
897
"MediaRecorder" : {
880
898
"events" : {
You can’t perform that action at this time.
0 commit comments