fix(WebAssembly): Correct `NativeError` subclass types (#962)

This commit is contained in:
ExE Boss 2021-09-24 03:14:18 +02:00 коммит произвёл GitHub
Родитель c00446d059
Коммит c7f81377d3
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
6 изменённых файлов: 51 добавлений и 18 удалений

9
baselines/audioworklet.generated.d.ts поставляемый
Просмотреть файл

@ -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 {

9
baselines/dom.generated.d.ts поставляемый
Просмотреть файл

@ -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 {

9
baselines/serviceworker.generated.d.ts поставляемый
Просмотреть файл

@ -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 {

9
baselines/sharedworker.generated.d.ts поставляемый
Просмотреть файл

@ -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 {

9
baselines/webworker.generated.d.ts поставляемый
Просмотреть файл

@ -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": {