fix(WebAssembly): Correct `NativeError` subclass types (#962)
This commit is contained in:
Родитель
c00446d059
Коммит
c7f81377d3
|
@ -435,7 +435,8 @@ declare namespace WebAssembly {
|
|||
|
||||
var CompileError: {
|
||||
prototype: CompileError;
|
||||
new(): CompileError;
|
||||
new(message?: string): CompileError;
|
||||
(message?: string): CompileError;
|
||||
};
|
||||
|
||||
interface Global {
|
||||
|
@ -462,7 +463,8 @@ declare namespace WebAssembly {
|
|||
|
||||
var LinkError: {
|
||||
prototype: LinkError;
|
||||
new(): LinkError;
|
||||
new(message?: string): LinkError;
|
||||
(message?: string): LinkError;
|
||||
};
|
||||
|
||||
interface Memory {
|
||||
|
@ -491,7 +493,8 @@ declare namespace WebAssembly {
|
|||
|
||||
var RuntimeError: {
|
||||
prototype: RuntimeError;
|
||||
new(): RuntimeError;
|
||||
new(message?: string): RuntimeError;
|
||||
(message?: string): RuntimeError;
|
||||
};
|
||||
|
||||
interface Table {
|
||||
|
|
|
@ -16555,7 +16555,8 @@ declare namespace WebAssembly {
|
|||
|
||||
var CompileError: {
|
||||
prototype: CompileError;
|
||||
new(): CompileError;
|
||||
new(message?: string): CompileError;
|
||||
(message?: string): CompileError;
|
||||
};
|
||||
|
||||
interface Global {
|
||||
|
@ -16582,7 +16583,8 @@ declare namespace WebAssembly {
|
|||
|
||||
var LinkError: {
|
||||
prototype: LinkError;
|
||||
new(): LinkError;
|
||||
new(message?: string): LinkError;
|
||||
(message?: string): LinkError;
|
||||
};
|
||||
|
||||
interface Memory {
|
||||
|
@ -16611,7 +16613,8 @@ declare namespace WebAssembly {
|
|||
|
||||
var RuntimeError: {
|
||||
prototype: RuntimeError;
|
||||
new(): RuntimeError;
|
||||
new(message?: string): RuntimeError;
|
||||
(message?: string): RuntimeError;
|
||||
};
|
||||
|
||||
interface Table {
|
||||
|
|
|
@ -5108,7 +5108,8 @@ declare namespace WebAssembly {
|
|||
|
||||
var CompileError: {
|
||||
prototype: CompileError;
|
||||
new(): CompileError;
|
||||
new(message?: string): CompileError;
|
||||
(message?: string): CompileError;
|
||||
};
|
||||
|
||||
interface Global {
|
||||
|
@ -5135,7 +5136,8 @@ declare namespace WebAssembly {
|
|||
|
||||
var LinkError: {
|
||||
prototype: LinkError;
|
||||
new(): LinkError;
|
||||
new(message?: string): LinkError;
|
||||
(message?: string): LinkError;
|
||||
};
|
||||
|
||||
interface Memory {
|
||||
|
@ -5164,7 +5166,8 @@ declare namespace WebAssembly {
|
|||
|
||||
var RuntimeError: {
|
||||
prototype: RuntimeError;
|
||||
new(): RuntimeError;
|
||||
new(message?: string): RuntimeError;
|
||||
(message?: string): RuntimeError;
|
||||
};
|
||||
|
||||
interface Table {
|
||||
|
|
|
@ -5137,7 +5137,8 @@ declare namespace WebAssembly {
|
|||
|
||||
var CompileError: {
|
||||
prototype: CompileError;
|
||||
new(): CompileError;
|
||||
new(message?: string): CompileError;
|
||||
(message?: string): CompileError;
|
||||
};
|
||||
|
||||
interface Global {
|
||||
|
@ -5164,7 +5165,8 @@ declare namespace WebAssembly {
|
|||
|
||||
var LinkError: {
|
||||
prototype: LinkError;
|
||||
new(): LinkError;
|
||||
new(message?: string): LinkError;
|
||||
(message?: string): LinkError;
|
||||
};
|
||||
|
||||
interface Memory {
|
||||
|
@ -5193,7 +5195,8 @@ declare namespace WebAssembly {
|
|||
|
||||
var RuntimeError: {
|
||||
prototype: RuntimeError;
|
||||
new(): RuntimeError;
|
||||
new(message?: string): RuntimeError;
|
||||
(message?: string): RuntimeError;
|
||||
};
|
||||
|
||||
interface Table {
|
||||
|
|
|
@ -5351,7 +5351,8 @@ declare namespace WebAssembly {
|
|||
|
||||
var CompileError: {
|
||||
prototype: CompileError;
|
||||
new(): CompileError;
|
||||
new(message?: string): CompileError;
|
||||
(message?: string): CompileError;
|
||||
};
|
||||
|
||||
interface Global {
|
||||
|
@ -5378,7 +5379,8 @@ declare namespace WebAssembly {
|
|||
|
||||
var LinkError: {
|
||||
prototype: LinkError;
|
||||
new(): LinkError;
|
||||
new(message?: string): LinkError;
|
||||
(message?: string): LinkError;
|
||||
};
|
||||
|
||||
interface Memory {
|
||||
|
@ -5407,7 +5409,8 @@ declare namespace WebAssembly {
|
|||
|
||||
var RuntimeError: {
|
||||
prototype: RuntimeError;
|
||||
new(): RuntimeError;
|
||||
new(message?: string): RuntimeError;
|
||||
(message?: string): RuntimeError;
|
||||
};
|
||||
|
||||
interface Table {
|
||||
|
|
|
@ -302,7 +302,13 @@
|
|||
"CompileError": {
|
||||
"name": "CompileError",
|
||||
"extends": "Error",
|
||||
"legacyNamespace": "WebAssembly"
|
||||
"legacyNamespace": "WebAssembly",
|
||||
"constructor": {
|
||||
"overrideSignatures": [
|
||||
"new(message?: string): CompileError",
|
||||
"(message?: string): CompileError"
|
||||
]
|
||||
}
|
||||
},
|
||||
"DeviceMotionEventAcceleration": {
|
||||
"noInterfaceObject": true
|
||||
|
@ -859,7 +865,13 @@
|
|||
"RuntimeError": {
|
||||
"name": "RuntimeError",
|
||||
"extends": "Error",
|
||||
"legacyNamespace": "WebAssembly"
|
||||
"legacyNamespace": "WebAssembly",
|
||||
"constructor": {
|
||||
"overrideSignatures": [
|
||||
"new(message?: string): RuntimeError",
|
||||
"(message?: string): RuntimeError"
|
||||
]
|
||||
}
|
||||
},
|
||||
"SVGStyleElement": {
|
||||
"properties": {
|
||||
|
@ -874,7 +886,13 @@
|
|||
"LinkError": {
|
||||
"name": "LinkError",
|
||||
"extends": "Error",
|
||||
"legacyNamespace": "WebAssembly"
|
||||
"legacyNamespace": "WebAssembly",
|
||||
"constructor": {
|
||||
"overrideSignatures": [
|
||||
"new(message?: string): LinkError",
|
||||
"(message?: string): LinkError"
|
||||
]
|
||||
}
|
||||
},
|
||||
"MediaRecorder": {
|
||||
"events": {
|
||||
|
|
Загрузка…
Ссылка в новой задаче