diff --git a/.changeset/clean-taxis-rule.md b/.changeset/clean-taxis-rule.md new file mode 100644 index 00000000..6c70fe73 --- /dev/null +++ b/.changeset/clean-taxis-rule.md @@ -0,0 +1,5 @@ +--- +"svelte-eslint-parser": minor +--- + +feat: improve component event handler type diff --git a/package.json b/package.json index f521f9d8..aa5842e3 100644 --- a/package.json +++ b/package.json @@ -98,7 +98,9 @@ "semver": "^7.3.5", "string-replace-loader": "^3.0.3", "svelte": "^3.57.0", + "svelte2tsx": "^0.6.11", "typescript": "~5.0.0", + "typescript-eslint-parser-for-extra-files": "^0.3.0", "vue-eslint-parser": "^9.0.0" }, "publishConfig": { diff --git a/src/parser/converts/attr.ts b/src/parser/converts/attr.ts index 917b7825..59e03a2e 100644 --- a/src/parser/converts/attr.ts +++ b/src/parser/converts/attr.ts @@ -346,52 +346,81 @@ function buildEventHandlerType( elementName: string, eventName: string ) { - const nativeEventHandlerType = [ - `(e:`, - /**/ `'${eventName}' extends infer EVT`, - /**/ /**/ `?EVT extends keyof HTMLElementEventMap`, - /**/ /**/ /**/ `?HTMLElementEventMap[EVT]`, - /**/ /**/ /**/ `:CustomEvent`, - /**/ /**/ `:never`, - `)=>void`, - ].join(""); + const nativeEventHandlerType = `(e:${conditional({ + check: `'${eventName}'`, + extends: `infer EVT`, + true: conditional({ + check: `EVT`, + extends: `keyof HTMLElementEventMap`, + true: `HTMLElementEventMap[EVT]`, + false: `CustomEvent`, + }), + false: `never`, + })})=>void`; if (element.type !== "SvelteElement") { return nativeEventHandlerType; } if (element.kind === "component") { - // `@typescript-eslint/parser` currently cannot parse `*.svelte` import types correctly. - // So if we try to do a correct type parsing, it's argument type will be `any`. - // A workaround is to inject the type directly, as `CustomEvent` is better than `any`. - - // const componentEvents = `import('svelte').ComponentEvents<${elementName}>`; - // return `(e:'${eventName}' extends keyof ${componentEvents}?${componentEvents}['${eventName}']:CustomEvent)=>void`; - - return `(e:CustomEvent)=>void`; + const componentEventsType = `import('svelte').ComponentEvents<${elementName}>`; + return `(e:${conditional({ + check: `0`, + extends: `(1 & ${componentEventsType})`, + // `componentEventsType` is `any` + // `@typescript-eslint/parser` currently cannot parse `*.svelte` import types correctly. + // So if we try to do a correct type parsing, it's argument type will be `any`. + // A workaround is to inject the type directly, as `CustomEvent` is better than `any`. + true: `CustomEvent`, + // `componentEventsType` has an exact type. + false: conditional({ + check: `'${eventName}'`, + extends: `infer EVT`, + true: conditional({ + check: `EVT`, + extends: `keyof ${componentEventsType}`, + true: `${componentEventsType}[EVT]`, + false: `CustomEvent`, + }), + false: `never`, + }), + })})=>void`; } if (element.kind === "special") { if (elementName === "svelte:component") return `(e:CustomEvent)=>void`; return nativeEventHandlerType; } const attrName = `on:${eventName}`; - const importSvelteHTMLElements = - "import('svelte/elements').SvelteHTMLElements"; - return [ - `'${elementName}' extends infer EL`, - /**/ `?(`, - /**/ /**/ `EL extends keyof ${importSvelteHTMLElements}`, - /**/ /**/ `?(`, - /**/ /**/ /**/ `'${attrName}' extends infer ATTR`, - /**/ /**/ /**/ `?(`, - /**/ /**/ /**/ /**/ `ATTR extends keyof ${importSvelteHTMLElements}[EL]`, - /**/ /**/ /**/ /**/ /**/ `?${importSvelteHTMLElements}[EL][ATTR]`, - /**/ /**/ /**/ /**/ /**/ `:${nativeEventHandlerType}`, - /**/ /**/ /**/ `)`, - /**/ /**/ /**/ `:never`, - /**/ /**/ `)`, - /**/ /**/ `:${nativeEventHandlerType}`, - /**/ `)`, - /**/ `:never`, - ].join(""); + const svelteHTMLElementsType = "import('svelte/elements').SvelteHTMLElements"; + return conditional({ + check: `'${elementName}'`, + extends: "infer EL", + true: conditional({ + check: `EL`, + extends: `keyof ${svelteHTMLElementsType}`, + true: conditional({ + check: `'${attrName}'`, + extends: "infer ATTR", + true: conditional({ + check: `ATTR`, + extends: `keyof ${svelteHTMLElementsType}[EL]`, + true: `${svelteHTMLElementsType}[EL][ATTR]`, + false: nativeEventHandlerType, + }), + false: `never`, + }), + false: nativeEventHandlerType, + }), + false: `never`, + }); + + /** Generate `C extends E ? T : F` type. */ + function conditional(types: { + check: string; + extends: string; + true: string; + false: string; + }) { + return `${types.check} extends ${types.extends}?(${types.true}):(${types.false})`; + } } /** Convert for Class Directive */ diff --git a/tests/fixtures/integrations/parser-object-tests/ts-multiple-parser-setup.ts b/tests/fixtures/integrations/parser-object-tests/ts-multiple-parser-setup.ts index 6f1b9034..4d22003f 100644 --- a/tests/fixtures/integrations/parser-object-tests/ts-multiple-parser-setup.ts +++ b/tests/fixtures/integrations/parser-object-tests/ts-multiple-parser-setup.ts @@ -1,14 +1,11 @@ /* eslint eslint-comments/require-description: 0, @typescript-eslint/explicit-module-boundary-types: 0 */ -import { BASIC_PARSER_OPTIONS } from "../../../src/parser/test-utils"; +import { generateParserOptions } from "../../../src/parser/test-utils"; import * as ts from "@typescript-eslint/parser"; export function getConfig() { return { parser: "svelte-eslint-parser", - parserOptions: { - ...BASIC_PARSER_OPTIONS, - parser: { ts }, - }, + parserOptions: generateParserOptions({ parser: { ts } }), env: { browser: true, es2021: true, diff --git a/tests/fixtures/integrations/parser-object-tests/ts-single-parser-setup.ts b/tests/fixtures/integrations/parser-object-tests/ts-single-parser-setup.ts index 678b17c1..c16f760b 100644 --- a/tests/fixtures/integrations/parser-object-tests/ts-single-parser-setup.ts +++ b/tests/fixtures/integrations/parser-object-tests/ts-single-parser-setup.ts @@ -1,14 +1,11 @@ /* eslint eslint-comments/require-description: 0, @typescript-eslint/explicit-module-boundary-types: 0 */ -import { BASIC_PARSER_OPTIONS } from "../../../src/parser/test-utils"; +import { generateParserOptions } from "../../../src/parser/test-utils"; import * as parser from "@typescript-eslint/parser"; export function getConfig() { return { parser: "svelte-eslint-parser", - parserOptions: { - ...BASIC_PARSER_OPTIONS, - parser, - }, + parserOptions: generateParserOptions({ parser }), env: { browser: true, es2021: true, diff --git a/tests/fixtures/integrations/type-info-tests/await-setup.ts b/tests/fixtures/integrations/type-info-tests/await-setup.ts index e32eab31..85e17fa3 100644 --- a/tests/fixtures/integrations/type-info-tests/await-setup.ts +++ b/tests/fixtures/integrations/type-info-tests/await-setup.ts @@ -1,6 +1,6 @@ /* eslint eslint-comments/require-description: 0, @typescript-eslint/explicit-module-boundary-types: 0 */ import type { Linter } from "eslint"; -import { BASIC_PARSER_OPTIONS } from "../../../src/parser/test-utils"; +import { generateParserOptions } from "../../../src/parser/test-utils"; import { rules } from "@typescript-eslint/eslint-plugin"; export function setupLinter(linter: Linter) { linter.defineRule( @@ -12,7 +12,7 @@ export function setupLinter(linter: Linter) { export function getConfig() { return { parser: "svelte-eslint-parser", - parserOptions: BASIC_PARSER_OPTIONS, + parserOptions: generateParserOptions(), rules: { "@typescript-eslint/no-unsafe-call": "error", }, diff --git a/tests/fixtures/integrations/type-info-tests/i18n-setup.ts b/tests/fixtures/integrations/type-info-tests/i18n-setup.ts index e32eab31..85e17fa3 100644 --- a/tests/fixtures/integrations/type-info-tests/i18n-setup.ts +++ b/tests/fixtures/integrations/type-info-tests/i18n-setup.ts @@ -1,6 +1,6 @@ /* eslint eslint-comments/require-description: 0, @typescript-eslint/explicit-module-boundary-types: 0 */ import type { Linter } from "eslint"; -import { BASIC_PARSER_OPTIONS } from "../../../src/parser/test-utils"; +import { generateParserOptions } from "../../../src/parser/test-utils"; import { rules } from "@typescript-eslint/eslint-plugin"; export function setupLinter(linter: Linter) { linter.defineRule( @@ -12,7 +12,7 @@ export function setupLinter(linter: Linter) { export function getConfig() { return { parser: "svelte-eslint-parser", - parserOptions: BASIC_PARSER_OPTIONS, + parserOptions: generateParserOptions(), rules: { "@typescript-eslint/no-unsafe-call": "error", }, diff --git a/tests/fixtures/integrations/type-info-tests/issue226-setup.ts b/tests/fixtures/integrations/type-info-tests/issue226-setup.ts index 9782542f..a0a6ab4d 100644 --- a/tests/fixtures/integrations/type-info-tests/issue226-setup.ts +++ b/tests/fixtures/integrations/type-info-tests/issue226-setup.ts @@ -1,6 +1,6 @@ /* eslint eslint-comments/require-description: 0, @typescript-eslint/explicit-module-boundary-types: 0 */ import type { Linter } from "eslint"; -import { BASIC_PARSER_OPTIONS } from "../../../src/parser/test-utils"; +import { generateParserOptions } from "../../../src/parser/test-utils"; import { rules } from "@typescript-eslint/eslint-plugin"; export function setupLinter(linter: Linter) { linter.defineRule( @@ -12,7 +12,7 @@ export function setupLinter(linter: Linter) { export function getConfig() { return { parser: "svelte-eslint-parser", - parserOptions: BASIC_PARSER_OPTIONS, + parserOptions: generateParserOptions(), rules: { "@typescript-eslint/no-unsafe-argument": "error", }, diff --git a/tests/fixtures/integrations/type-info-tests/no-unnecessary-condition01-setup.ts b/tests/fixtures/integrations/type-info-tests/no-unnecessary-condition01-setup.ts index 92947a97..e8992371 100644 --- a/tests/fixtures/integrations/type-info-tests/no-unnecessary-condition01-setup.ts +++ b/tests/fixtures/integrations/type-info-tests/no-unnecessary-condition01-setup.ts @@ -1,6 +1,6 @@ /* eslint eslint-comments/require-description: 0, @typescript-eslint/explicit-module-boundary-types: 0 */ import type { Linter } from "eslint"; -import { BASIC_PARSER_OPTIONS } from "../../../src/parser/test-utils"; +import { generateParserOptions } from "../../../src/parser/test-utils"; import { rules } from "@typescript-eslint/eslint-plugin"; export function setupLinter(linter: Linter) { linter.defineRule( @@ -12,7 +12,7 @@ export function setupLinter(linter: Linter) { export function getConfig() { return { parser: "svelte-eslint-parser", - parserOptions: BASIC_PARSER_OPTIONS, + parserOptions: generateParserOptions(), rules: { "@typescript-eslint/no-unnecessary-condition": "error", }, diff --git a/tests/fixtures/integrations/type-info-tests/plugin-issue254-setup.ts b/tests/fixtures/integrations/type-info-tests/plugin-issue254-setup.ts index 92947a97..e8992371 100644 --- a/tests/fixtures/integrations/type-info-tests/plugin-issue254-setup.ts +++ b/tests/fixtures/integrations/type-info-tests/plugin-issue254-setup.ts @@ -1,6 +1,6 @@ /* eslint eslint-comments/require-description: 0, @typescript-eslint/explicit-module-boundary-types: 0 */ import type { Linter } from "eslint"; -import { BASIC_PARSER_OPTIONS } from "../../../src/parser/test-utils"; +import { generateParserOptions } from "../../../src/parser/test-utils"; import { rules } from "@typescript-eslint/eslint-plugin"; export function setupLinter(linter: Linter) { linter.defineRule( @@ -12,7 +12,7 @@ export function setupLinter(linter: Linter) { export function getConfig() { return { parser: "svelte-eslint-parser", - parserOptions: BASIC_PARSER_OPTIONS, + parserOptions: generateParserOptions(), rules: { "@typescript-eslint/no-unnecessary-condition": "error", }, diff --git a/tests/fixtures/integrations/type-info-tests/reactive-setup.ts b/tests/fixtures/integrations/type-info-tests/reactive-setup.ts index f40500b1..77be6301 100644 --- a/tests/fixtures/integrations/type-info-tests/reactive-setup.ts +++ b/tests/fixtures/integrations/type-info-tests/reactive-setup.ts @@ -1,6 +1,6 @@ /* eslint eslint-comments/require-description: 0, @typescript-eslint/explicit-module-boundary-types: 0 */ import type { Linter } from "eslint"; -import { BASIC_PARSER_OPTIONS } from "../../../src/parser/test-utils"; +import { generateParserOptions } from "../../../src/parser/test-utils"; import { rules } from "@typescript-eslint/eslint-plugin"; export function setupLinter(linter: Linter) { linter.defineRule( @@ -28,7 +28,7 @@ export function setupLinter(linter: Linter) { export function getConfig() { return { parser: "svelte-eslint-parser", - parserOptions: BASIC_PARSER_OPTIONS, + parserOptions: generateParserOptions(), rules: { "@typescript-eslint/no-unsafe-argument": "error", "@typescript-eslint/no-unsafe-assignment": "error", diff --git a/tests/fixtures/integrations/type-info-tests/reactive2-setup.ts b/tests/fixtures/integrations/type-info-tests/reactive2-setup.ts index 073c8023..a57b3284 100644 --- a/tests/fixtures/integrations/type-info-tests/reactive2-setup.ts +++ b/tests/fixtures/integrations/type-info-tests/reactive2-setup.ts @@ -1,6 +1,6 @@ /* eslint eslint-comments/require-description: 0, @typescript-eslint/explicit-module-boundary-types: 0 */ import type { Linter } from "eslint"; -import { BASIC_PARSER_OPTIONS } from "../../../src/parser/test-utils"; +import { generateParserOptions } from "../../../src/parser/test-utils"; import { rules } from "@typescript-eslint/eslint-plugin"; export function setupLinter(linter: Linter) { linter.defineRule( @@ -16,7 +16,7 @@ export function setupLinter(linter: Linter) { export function getConfig() { return { parser: "svelte-eslint-parser", - parserOptions: BASIC_PARSER_OPTIONS, + parserOptions: generateParserOptions(), rules: { "@typescript-eslint/no-unsafe-assignment": "error", "@typescript-eslint/no-unsafe-member-access": "error", diff --git a/tests/fixtures/integrations/type-info-tests/ts-newline-setup.ts b/tests/fixtures/integrations/type-info-tests/ts-newline-setup.ts index dedf1d46..d7426cf1 100644 --- a/tests/fixtures/integrations/type-info-tests/ts-newline-setup.ts +++ b/tests/fixtures/integrations/type-info-tests/ts-newline-setup.ts @@ -1,6 +1,6 @@ /* eslint eslint-comments/require-description: 0, @typescript-eslint/explicit-module-boundary-types: 0 */ import type { Linter } from "eslint"; -import { BASIC_PARSER_OPTIONS } from "../../../src/parser/test-utils"; +import { generateParserOptions } from "../../../src/parser/test-utils"; import { rules } from "@typescript-eslint/eslint-plugin"; export function setupLinter(linter: Linter) { linter.defineRule( @@ -16,7 +16,7 @@ export function setupLinter(linter: Linter) { export function getConfig() { return { parser: "svelte-eslint-parser", - parserOptions: BASIC_PARSER_OPTIONS, + parserOptions: generateParserOptions(), rules: { "@typescript-eslint/no-confusing-void-expression": "error", "@typescript-eslint/explicit-function-return-type": "error", diff --git a/tests/fixtures/integrations/type-info-tests/ts-no-misused-promises-setup.ts b/tests/fixtures/integrations/type-info-tests/ts-no-misused-promises-setup.ts index 4e700d7f..f4f435fe 100644 --- a/tests/fixtures/integrations/type-info-tests/ts-no-misused-promises-setup.ts +++ b/tests/fixtures/integrations/type-info-tests/ts-no-misused-promises-setup.ts @@ -1,6 +1,6 @@ /* eslint eslint-comments/require-description: 0, @typescript-eslint/explicit-module-boundary-types: 0 */ import type { Linter } from "eslint"; -import { BASIC_PARSER_OPTIONS } from "../../../src/parser/test-utils"; +import { generateParserOptions } from "../../../src/parser/test-utils"; import { rules } from "@typescript-eslint/eslint-plugin"; export function setupLinter(linter: Linter) { linter.defineRule( @@ -12,7 +12,7 @@ export function setupLinter(linter: Linter) { export function getConfig() { return { parser: "svelte-eslint-parser", - parserOptions: BASIC_PARSER_OPTIONS, + parserOptions: generateParserOptions(), rules: { "@typescript-eslint/no-misused-promises": "error", }, diff --git a/tests/fixtures/parser/ast/ts-event05-input.svelte b/tests/fixtures/parser/ast/ts-event05-input.svelte index db1fb604..aee771fa 100644 --- a/tests/fixtures/parser/ast/ts-event05-input.svelte +++ b/tests/fixtures/parser/ast/ts-event05-input.svelte @@ -3,6 +3,9 @@ diff --git a/tests/fixtures/parser/ast/ts-event05-no-unused-expressions-result.json b/tests/fixtures/parser/ast/ts-event05-no-unused-expressions-result.json index 0fe83e99..f0f3f2e4 100644 --- a/tests/fixtures/parser/ast/ts-event05-no-unused-expressions-result.json +++ b/tests/fixtures/parser/ast/ts-event05-no-unused-expressions-result.json @@ -2,7 +2,7 @@ { "ruleId": "no-unused-expressions", "code": "e.detail;", - "line": 7, + "line": 10, "column": 5 } ] \ No newline at end of file diff --git a/tests/fixtures/parser/ast/ts-event05-output.json b/tests/fixtures/parser/ast/ts-event05-output.json index 767aa57a..9a13d315 100644 --- a/tests/fixtures/parser/ast/ts-event05-output.json +++ b/tests/fixtures/parser/ast/ts-event05-output.json @@ -301,16 +301,16 @@ "type": "Identifier", "name": "e", "range": [ - 146, - 147 + 347, + 348 ], "loc": { "start": { - "line": 7, + "line": 10, "column": 4 }, "end": { - "line": 7, + "line": 10, "column": 5 } } @@ -320,46 +320,46 @@ "type": "Identifier", "name": "detail", "range": [ - 148, - 154 + 349, + 355 ], "loc": { "start": { - "line": 7, + "line": 10, "column": 6 }, "end": { - "line": 7, + "line": 10, "column": 12 } } }, "range": [ - 146, - 154 + 347, + 355 ], "loc": { "start": { - "line": 7, + "line": 10, "column": 4 }, "end": { - "line": 7, + "line": 10, "column": 12 } } }, "range": [ - 146, - 155 + 347, + 356 ], "loc": { "start": { - "line": 7, + "line": 10, "column": 4 }, "end": { - "line": 7, + "line": 10, "column": 13 } } @@ -367,7 +367,7 @@ ], "range": [ 108, - 157 + 358 ], "loc": { "start": { @@ -375,7 +375,7 @@ "column": 23 }, "end": { - "line": 8, + "line": 11, "column": 1 } } @@ -405,7 +405,7 @@ ], "range": [ 105, - 157 + 358 ], "loc": { "start": { @@ -413,14 +413,14 @@ "column": 20 }, "end": { - "line": 8, + "line": 11, "column": 1 } } }, "range": [ 96, - 159 + 360 ], "loc": { "start": { @@ -428,7 +428,7 @@ "column": 11 }, "end": { - "line": 8, + "line": 11, "column": 3 } } @@ -437,7 +437,7 @@ "selfClosing": true, "range": [ 85, - 162 + 363 ], "loc": { "start": { @@ -445,7 +445,7 @@ "column": 0 }, "end": { - "line": 8, + "line": 11, "column": 6 } } @@ -454,7 +454,7 @@ "endTag": null, "range": [ 85, - 162 + 363 ], "loc": { "start": { @@ -462,7 +462,7 @@ "column": 0 }, "end": { - "line": 8, + "line": 11, "column": 6 } } @@ -472,10 +472,10 @@ "comments": [ { "type": "Line", - "value": " TODO: e.detail is number", + "value": " e.detail is number", "range": [ 114, - 141 + 135 ], "loc": { "start": { @@ -484,7 +484,61 @@ }, "end": { "line": 6, - "column": 31 + "column": 25 + } + } + }, + { + "type": "Line", + "value": " `@typescript-eslint/parser` doesn't get the correct types.", + "range": [ + 140, + 203 + ], + "loc": { + "start": { + "line": 7, + "column": 4 + }, + "end": { + "line": 7, + "column": 67 + } + } + }, + { + "type": "Line", + "value": " Using `typescript-eslint-parser-for-extra-files` will give we the correct types.", + "range": [ + 208, + 293 + ], + "loc": { + "start": { + "line": 8, + "column": 4 + }, + "end": { + "line": 8, + "column": 89 + } + } + }, + { + "type": "Line", + "value": " See `ts-event06-input.svelte` test case", + "range": [ + 298, + 342 + ], + "loc": { + "start": { + "line": 9, + "column": 4 + }, + "end": { + "line": 9, + "column": 48 } } } @@ -1016,16 +1070,16 @@ "type": "Identifier", "value": "e", "range": [ - 146, - 147 + 347, + 348 ], "loc": { "start": { - "line": 7, + "line": 10, "column": 4 }, "end": { - "line": 7, + "line": 10, "column": 5 } } @@ -1034,16 +1088,16 @@ "type": "Punctuator", "value": ".", "range": [ - 147, - 148 + 348, + 349 ], "loc": { "start": { - "line": 7, + "line": 10, "column": 5 }, "end": { - "line": 7, + "line": 10, "column": 6 } } @@ -1052,16 +1106,16 @@ "type": "Identifier", "value": "detail", "range": [ - 148, - 154 + 349, + 355 ], "loc": { "start": { - "line": 7, + "line": 10, "column": 6 }, "end": { - "line": 7, + "line": 10, "column": 12 } } @@ -1070,16 +1124,16 @@ "type": "Punctuator", "value": ";", "range": [ - 154, - 155 + 355, + 356 ], "loc": { "start": { - "line": 7, + "line": 10, "column": 12 }, "end": { - "line": 7, + "line": 10, "column": 13 } } @@ -1088,16 +1142,16 @@ "type": "Punctuator", "value": "}", "range": [ - 156, - 157 + 357, + 358 ], "loc": { "start": { - "line": 8, + "line": 11, "column": 0 }, "end": { - "line": 8, + "line": 11, "column": 1 } } @@ -1106,16 +1160,16 @@ "type": "Punctuator", "value": "}", "range": [ - 157, - 158 + 358, + 359 ], "loc": { "start": { - "line": 8, + "line": 11, "column": 1 }, "end": { - "line": 8, + "line": 11, "column": 2 } } @@ -1124,16 +1178,16 @@ "type": "Punctuator", "value": "\"", "range": [ - 158, - 159 + 359, + 360 ], "loc": { "start": { - "line": 8, + "line": 11, "column": 2 }, "end": { - "line": 8, + "line": 11, "column": 3 } } @@ -1142,16 +1196,16 @@ "type": "Punctuator", "value": "/", "range": [ - 160, - 161 + 361, + 362 ], "loc": { "start": { - "line": 8, + "line": 11, "column": 4 }, "end": { - "line": 8, + "line": 11, "column": 5 } } @@ -1160,16 +1214,16 @@ "type": "Punctuator", "value": ">", "range": [ - 161, - 162 + 362, + 363 ], "loc": { "start": { - "line": 8, + "line": 11, "column": 5 }, "end": { - "line": 8, + "line": 11, "column": 6 } } @@ -1177,7 +1231,7 @@ ], "range": [ 0, - 163 + 364 ], "loc": { "start": { @@ -1185,7 +1239,7 @@ "column": 0 }, "end": { - "line": 9, + "line": 12, "column": 0 } } diff --git a/tests/fixtures/parser/ast/ts-event05-scope-output.json b/tests/fixtures/parser/ast/ts-event05-scope-output.json index 928a6600..8e7f7f4c 100644 --- a/tests/fixtures/parser/ast/ts-event05-scope-output.json +++ b/tests/fixtures/parser/ast/ts-event05-scope-output.json @@ -8833,16 +8833,16 @@ "type": "Identifier", "name": "e", "range": [ - 146, - 147 + 347, + 348 ], "loc": { "start": { - "line": 7, + "line": 10, "column": 4 }, "end": { - "line": 7, + "line": 10, "column": 5 } } @@ -8852,46 +8852,46 @@ "type": "Identifier", "name": "detail", "range": [ - 148, - 154 + 349, + 355 ], "loc": { "start": { - "line": 7, + "line": 10, "column": 6 }, "end": { - "line": 7, + "line": 10, "column": 12 } } }, "range": [ - 146, - 154 + 347, + 355 ], "loc": { "start": { - "line": 7, + "line": 10, "column": 4 }, "end": { - "line": 7, + "line": 10, "column": 12 } } }, "range": [ - 146, - 155 + 347, + 356 ], "loc": { "start": { - "line": 7, + "line": 10, "column": 4 }, "end": { - "line": 7, + "line": 10, "column": 13 } } @@ -8899,7 +8899,7 @@ ], "range": [ 108, - 157 + 358 ], "loc": { "start": { @@ -8907,7 +8907,7 @@ "column": 23 }, "end": { - "line": 8, + "line": 11, "column": 1 } } @@ -8937,7 +8937,7 @@ ], "range": [ 105, - 157 + 358 ], "loc": { "start": { @@ -8945,7 +8945,7 @@ "column": 20 }, "end": { - "line": 8, + "line": 11, "column": 1 } } @@ -8958,16 +8958,16 @@ "type": "Identifier", "name": "e", "range": [ - 146, - 147 + 347, + 348 ], "loc": { "start": { - "line": 7, + "line": 10, "column": 4 }, "end": { - "line": 7, + "line": 10, "column": 5 } } @@ -9002,16 +9002,16 @@ "type": "Identifier", "name": "e", "range": [ - 146, - 147 + 347, + 348 ], "loc": { "start": { - "line": 7, + "line": 10, "column": 4 }, "end": { - "line": 7, + "line": 10, "column": 5 } } diff --git a/tests/fixtures/parser/ast/ts-event05-type-output.svelte b/tests/fixtures/parser/ast/ts-event05-type-output.svelte index 49b44038..e8fa12a4 100644 --- a/tests/fixtures/parser/ast/ts-event05-type-output.svelte +++ b/tests/fixtures/parser/ast/ts-event05-type-output.svelte @@ -3,6 +3,9 @@ diff --git a/tests/fixtures/parser/ast/ts-event06-config.json b/tests/fixtures/parser/ast/ts-event06-config.json new file mode 100644 index 00000000..73510cc2 --- /dev/null +++ b/tests/fixtures/parser/ast/ts-event06-config.json @@ -0,0 +1,3 @@ +{ + "parser": "typescript-eslint-parser-for-extra-files" +} \ No newline at end of file diff --git a/tests/fixtures/parser/ast/ts-event06-input.svelte b/tests/fixtures/parser/ast/ts-event06-input.svelte new file mode 100644 index 00000000..7d277874 --- /dev/null +++ b/tests/fixtures/parser/ast/ts-event06-input.svelte @@ -0,0 +1,8 @@ + + + diff --git a/tests/fixtures/parser/ast/ts-event06-no-unused-expressions-result.json b/tests/fixtures/parser/ast/ts-event06-no-unused-expressions-result.json new file mode 100644 index 00000000..0fe83e99 --- /dev/null +++ b/tests/fixtures/parser/ast/ts-event06-no-unused-expressions-result.json @@ -0,0 +1,8 @@ +[ + { + "ruleId": "no-unused-expressions", + "code": "e.detail;", + "line": 7, + "column": 5 + } +] \ No newline at end of file diff --git a/tests/fixtures/parser/ast/ts-event06-output.json b/tests/fixtures/parser/ast/ts-event06-output.json new file mode 100644 index 00000000..ca339e8c --- /dev/null +++ b/tests/fixtures/parser/ast/ts-event06-output.json @@ -0,0 +1,1192 @@ +{ + "type": "Program", + "body": [ + { + "type": "SvelteScriptElement", + "name": { + "type": "SvelteName", + "name": "script", + "range": [ + 1, + 7 + ], + "loc": { + "start": { + "line": 1, + "column": 1 + }, + "end": { + "line": 1, + "column": 7 + } + } + }, + "startTag": { + "type": "SvelteStartTag", + "attributes": [ + { + "type": "SvelteAttribute", + "key": { + "type": "SvelteName", + "name": "lang", + "range": [ + 8, + 12 + ], + "loc": { + "start": { + "line": 1, + "column": 8 + }, + "end": { + "line": 1, + "column": 12 + } + } + }, + "boolean": false, + "value": [ + { + "type": "SvelteLiteral", + "value": "ts", + "range": [ + 14, + 16 + ], + "loc": { + "start": { + "line": 1, + "column": 14 + }, + "end": { + "line": 1, + "column": 16 + } + } + } + ], + "range": [ + 8, + 17 + ], + "loc": { + "start": { + "line": 1, + "column": 8 + }, + "end": { + "line": 1, + "column": 17 + } + } + } + ], + "selfClosing": false, + "range": [ + 0, + 18 + ], + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 1, + "column": 18 + } + } + }, + "body": [ + { + "type": "ImportDeclaration", + "importKind": "value", + "source": { + "type": "Literal", + "raw": "'./ts-event03-input.svelte'", + "value": "./ts-event03-input.svelte", + "range": [ + 45, + 72 + ], + "loc": { + "start": { + "line": 2, + "column": 26 + }, + "end": { + "line": 2, + "column": 53 + } + } + }, + "specifiers": [ + { + "type": "ImportDefaultSpecifier", + "local": { + "type": "Identifier", + "name": "Component", + "range": [ + 30, + 39 + ], + "loc": { + "start": { + "line": 2, + "column": 11 + }, + "end": { + "line": 2, + "column": 20 + } + } + }, + "range": [ + 30, + 39 + ], + "loc": { + "start": { + "line": 2, + "column": 11 + }, + "end": { + "line": 2, + "column": 20 + } + } + } + ], + "range": [ + 23, + 73 + ], + "loc": { + "start": { + "line": 2, + "column": 4 + }, + "end": { + "line": 2, + "column": 54 + } + } + } + ], + "endTag": { + "type": "SvelteEndTag", + "range": [ + 74, + 83 + ], + "loc": { + "start": { + "line": 3, + "column": 0 + }, + "end": { + "line": 3, + "column": 9 + } + } + }, + "range": [ + 0, + 83 + ], + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 3, + "column": 9 + } + } + }, + { + "type": "SvelteText", + "value": "\n\n", + "range": [ + 83, + 85 + ], + "loc": { + "start": { + "line": 3, + "column": 9 + }, + "end": { + "line": 5, + "column": 0 + } + } + }, + { + "type": "SvelteElement", + "kind": "component", + "name": { + "type": "Identifier", + "name": "Component", + "range": [ + 86, + 95 + ], + "loc": { + "start": { + "line": 5, + "column": 1 + }, + "end": { + "line": 5, + "column": 10 + } + } + }, + "startTag": { + "type": "SvelteStartTag", + "attributes": [ + { + "type": "SvelteDirective", + "kind": "EventHandler", + "key": { + "type": "SvelteDirectiveKey", + "name": { + "type": "SvelteName", + "name": "foo", + "range": [ + 99, + 102 + ], + "loc": { + "start": { + "line": 5, + "column": 14 + }, + "end": { + "line": 5, + "column": 17 + } + } + }, + "modifiers": [], + "range": [ + 96, + 102 + ], + "loc": { + "start": { + "line": 5, + "column": 11 + }, + "end": { + "line": 5, + "column": 17 + } + } + }, + "expression": { + "type": "ArrowFunctionExpression", + "async": false, + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "e", + "range": [ + 140, + 141 + ], + "loc": { + "start": { + "line": 7, + "column": 4 + }, + "end": { + "line": 7, + "column": 5 + } + } + }, + "optional": false, + "property": { + "type": "Identifier", + "name": "detail", + "range": [ + 142, + 148 + ], + "loc": { + "start": { + "line": 7, + "column": 6 + }, + "end": { + "line": 7, + "column": 12 + } + } + }, + "range": [ + 140, + 148 + ], + "loc": { + "start": { + "line": 7, + "column": 4 + }, + "end": { + "line": 7, + "column": 12 + } + } + }, + "range": [ + 140, + 149 + ], + "loc": { + "start": { + "line": 7, + "column": 4 + }, + "end": { + "line": 7, + "column": 13 + } + } + } + ], + "range": [ + 108, + 151 + ], + "loc": { + "start": { + "line": 5, + "column": 23 + }, + "end": { + "line": 8, + "column": 1 + } + } + }, + "expression": false, + "generator": false, + "id": null, + "params": [ + { + "type": "Identifier", + "name": "e", + "range": [ + 105, + 106 + ], + "loc": { + "start": { + "line": 5, + "column": 20 + }, + "end": { + "line": 5, + "column": 21 + } + } + } + ], + "range": [ + 105, + 151 + ], + "loc": { + "start": { + "line": 5, + "column": 20 + }, + "end": { + "line": 8, + "column": 1 + } + } + }, + "range": [ + 96, + 153 + ], + "loc": { + "start": { + "line": 5, + "column": 11 + }, + "end": { + "line": 8, + "column": 3 + } + } + } + ], + "selfClosing": true, + "range": [ + 85, + 156 + ], + "loc": { + "start": { + "line": 5, + "column": 0 + }, + "end": { + "line": 8, + "column": 6 + } + } + }, + "children": [], + "endTag": null, + "range": [ + 85, + 156 + ], + "loc": { + "start": { + "line": 5, + "column": 0 + }, + "end": { + "line": 8, + "column": 6 + } + } + } + ], + "sourceType": "module", + "comments": [ + { + "type": "Line", + "value": " e.detail is number", + "range": [ + 114, + 135 + ], + "loc": { + "start": { + "line": 6, + "column": 4 + }, + "end": { + "line": 6, + "column": 25 + } + } + } + ], + "tokens": [ + { + "type": "Punctuator", + "value": "<", + "range": [ + 0, + 1 + ], + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 1, + "column": 1 + } + } + }, + { + "type": "HTMLIdentifier", + "value": "script", + "range": [ + 1, + 7 + ], + "loc": { + "start": { + "line": 1, + "column": 1 + }, + "end": { + "line": 1, + "column": 7 + } + } + }, + { + "type": "HTMLIdentifier", + "value": "lang", + "range": [ + 8, + 12 + ], + "loc": { + "start": { + "line": 1, + "column": 8 + }, + "end": { + "line": 1, + "column": 12 + } + } + }, + { + "type": "Punctuator", + "value": "=", + "range": [ + 12, + 13 + ], + "loc": { + "start": { + "line": 1, + "column": 12 + }, + "end": { + "line": 1, + "column": 13 + } + } + }, + { + "type": "Punctuator", + "value": "\"", + "range": [ + 13, + 14 + ], + "loc": { + "start": { + "line": 1, + "column": 13 + }, + "end": { + "line": 1, + "column": 14 + } + } + }, + { + "type": "HTMLText", + "value": "ts", + "range": [ + 14, + 16 + ], + "loc": { + "start": { + "line": 1, + "column": 14 + }, + "end": { + "line": 1, + "column": 16 + } + } + }, + { + "type": "Punctuator", + "value": "\"", + "range": [ + 16, + 17 + ], + "loc": { + "start": { + "line": 1, + "column": 16 + }, + "end": { + "line": 1, + "column": 17 + } + } + }, + { + "type": "Punctuator", + "value": ">", + "range": [ + 17, + 18 + ], + "loc": { + "start": { + "line": 1, + "column": 17 + }, + "end": { + "line": 1, + "column": 18 + } + } + }, + { + "type": "Keyword", + "value": "import", + "range": [ + 23, + 29 + ], + "loc": { + "start": { + "line": 2, + "column": 4 + }, + "end": { + "line": 2, + "column": 10 + } + } + }, + { + "type": "Identifier", + "value": "Component", + "range": [ + 30, + 39 + ], + "loc": { + "start": { + "line": 2, + "column": 11 + }, + "end": { + "line": 2, + "column": 20 + } + } + }, + { + "type": "Identifier", + "value": "from", + "range": [ + 40, + 44 + ], + "loc": { + "start": { + "line": 2, + "column": 21 + }, + "end": { + "line": 2, + "column": 25 + } + } + }, + { + "type": "String", + "value": "'./ts-event03-input.svelte'", + "range": [ + 45, + 72 + ], + "loc": { + "start": { + "line": 2, + "column": 26 + }, + "end": { + "line": 2, + "column": 53 + } + } + }, + { + "type": "Punctuator", + "value": ";", + "range": [ + 72, + 73 + ], + "loc": { + "start": { + "line": 2, + "column": 53 + }, + "end": { + "line": 2, + "column": 54 + } + } + }, + { + "type": "Punctuator", + "value": "<", + "range": [ + 74, + 75 + ], + "loc": { + "start": { + "line": 3, + "column": 0 + }, + "end": { + "line": 3, + "column": 1 + } + } + }, + { + "type": "Punctuator", + "value": "/", + "range": [ + 75, + 76 + ], + "loc": { + "start": { + "line": 3, + "column": 1 + }, + "end": { + "line": 3, + "column": 2 + } + } + }, + { + "type": "HTMLIdentifier", + "value": "script", + "range": [ + 76, + 82 + ], + "loc": { + "start": { + "line": 3, + "column": 2 + }, + "end": { + "line": 3, + "column": 8 + } + } + }, + { + "type": "Punctuator", + "value": ">", + "range": [ + 82, + 83 + ], + "loc": { + "start": { + "line": 3, + "column": 8 + }, + "end": { + "line": 3, + "column": 9 + } + } + }, + { + "type": "HTMLText", + "value": "\n\n", + "range": [ + 83, + 85 + ], + "loc": { + "start": { + "line": 3, + "column": 9 + }, + "end": { + "line": 5, + "column": 0 + } + } + }, + { + "type": "Punctuator", + "value": "<", + "range": [ + 85, + 86 + ], + "loc": { + "start": { + "line": 5, + "column": 0 + }, + "end": { + "line": 5, + "column": 1 + } + } + }, + { + "type": "Identifier", + "value": "Component", + "range": [ + 86, + 95 + ], + "loc": { + "start": { + "line": 5, + "column": 1 + }, + "end": { + "line": 5, + "column": 10 + } + } + }, + { + "type": "HTMLIdentifier", + "value": "on", + "range": [ + 96, + 98 + ], + "loc": { + "start": { + "line": 5, + "column": 11 + }, + "end": { + "line": 5, + "column": 13 + } + } + }, + { + "type": "Punctuator", + "value": ":", + "range": [ + 98, + 99 + ], + "loc": { + "start": { + "line": 5, + "column": 13 + }, + "end": { + "line": 5, + "column": 14 + } + } + }, + { + "type": "HTMLIdentifier", + "value": "foo", + "range": [ + 99, + 102 + ], + "loc": { + "start": { + "line": 5, + "column": 14 + }, + "end": { + "line": 5, + "column": 17 + } + } + }, + { + "type": "Punctuator", + "value": "=", + "range": [ + 102, + 103 + ], + "loc": { + "start": { + "line": 5, + "column": 17 + }, + "end": { + "line": 5, + "column": 18 + } + } + }, + { + "type": "Punctuator", + "value": "\"", + "range": [ + 103, + 104 + ], + "loc": { + "start": { + "line": 5, + "column": 18 + }, + "end": { + "line": 5, + "column": 19 + } + } + }, + { + "type": "Punctuator", + "value": "{", + "range": [ + 104, + 105 + ], + "loc": { + "start": { + "line": 5, + "column": 19 + }, + "end": { + "line": 5, + "column": 20 + } + } + }, + { + "type": "Identifier", + "value": "e", + "range": [ + 105, + 106 + ], + "loc": { + "start": { + "line": 5, + "column": 20 + }, + "end": { + "line": 5, + "column": 21 + } + } + }, + { + "type": "Punctuator", + "value": "=>", + "range": [ + 106, + 108 + ], + "loc": { + "start": { + "line": 5, + "column": 21 + }, + "end": { + "line": 5, + "column": 23 + } + } + }, + { + "type": "Punctuator", + "value": "{", + "range": [ + 108, + 109 + ], + "loc": { + "start": { + "line": 5, + "column": 23 + }, + "end": { + "line": 5, + "column": 24 + } + } + }, + { + "type": "Identifier", + "value": "e", + "range": [ + 140, + 141 + ], + "loc": { + "start": { + "line": 7, + "column": 4 + }, + "end": { + "line": 7, + "column": 5 + } + } + }, + { + "type": "Punctuator", + "value": ".", + "range": [ + 141, + 142 + ], + "loc": { + "start": { + "line": 7, + "column": 5 + }, + "end": { + "line": 7, + "column": 6 + } + } + }, + { + "type": "Identifier", + "value": "detail", + "range": [ + 142, + 148 + ], + "loc": { + "start": { + "line": 7, + "column": 6 + }, + "end": { + "line": 7, + "column": 12 + } + } + }, + { + "type": "Punctuator", + "value": ";", + "range": [ + 148, + 149 + ], + "loc": { + "start": { + "line": 7, + "column": 12 + }, + "end": { + "line": 7, + "column": 13 + } + } + }, + { + "type": "Punctuator", + "value": "}", + "range": [ + 150, + 151 + ], + "loc": { + "start": { + "line": 8, + "column": 0 + }, + "end": { + "line": 8, + "column": 1 + } + } + }, + { + "type": "Punctuator", + "value": "}", + "range": [ + 151, + 152 + ], + "loc": { + "start": { + "line": 8, + "column": 1 + }, + "end": { + "line": 8, + "column": 2 + } + } + }, + { + "type": "Punctuator", + "value": "\"", + "range": [ + 152, + 153 + ], + "loc": { + "start": { + "line": 8, + "column": 2 + }, + "end": { + "line": 8, + "column": 3 + } + } + }, + { + "type": "Punctuator", + "value": "/", + "range": [ + 154, + 155 + ], + "loc": { + "start": { + "line": 8, + "column": 4 + }, + "end": { + "line": 8, + "column": 5 + } + } + }, + { + "type": "Punctuator", + "value": ">", + "range": [ + 155, + 156 + ], + "loc": { + "start": { + "line": 8, + "column": 5 + }, + "end": { + "line": 8, + "column": 6 + } + } + } + ], + "range": [ + 0, + 157 + ], + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 9, + "column": 0 + } + } +} \ No newline at end of file diff --git a/tests/fixtures/parser/ast/ts-event06-scope-output.json b/tests/fixtures/parser/ast/ts-event06-scope-output.json new file mode 100644 index 00000000..7ab94575 --- /dev/null +++ b/tests/fixtures/parser/ast/ts-event06-scope-output.json @@ -0,0 +1,9049 @@ +{ + "type": "global", + "variables": [ + { + "name": "ClassMemberDecoratorContext", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "DecoratorContext", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "ClassDecoratorContext", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "ClassMethodDecoratorContext", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "ClassGetterDecoratorContext", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "ClassSetterDecoratorContext", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "ClassAccessorDecoratorContext", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "ClassAccessorDecoratorTarget", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "ClassAccessorDecoratorResult", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "ClassFieldDecoratorContext", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "ClassDecorator", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "PropertyDecorator", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "MethodDecorator", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "ParameterDecorator", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "Symbol", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "PropertyKey", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "PropertyDescriptor", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "PropertyDescriptorMap", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "Object", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "ObjectConstructor", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "Function", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "FunctionConstructor", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "ThisParameterType", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "OmitThisParameter", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "CallableFunction", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "NewableFunction", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "IArguments", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "String", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "StringConstructor", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "Boolean", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "BooleanConstructor", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "Number", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "NumberConstructor", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "TemplateStringsArray", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "ImportMeta", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "ImportCallOptions", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "ImportAssertions", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "Math", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "Date", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "DateConstructor", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "RegExpMatchArray", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "RegExpExecArray", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "RegExp", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "RegExpConstructor", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "Error", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "ErrorConstructor", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "EvalError", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "EvalErrorConstructor", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "RangeError", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "RangeErrorConstructor", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "ReferenceError", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "ReferenceErrorConstructor", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "SyntaxError", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "SyntaxErrorConstructor", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "TypeError", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "TypeErrorConstructor", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "URIError", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "URIErrorConstructor", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "JSON", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "ReadonlyArray", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "ConcatArray", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "Array", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "ArrayConstructor", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "TypedPropertyDescriptor", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "PromiseConstructorLike", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "PromiseLike", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "Promise", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "Awaited", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "ArrayLike", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "Partial", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "Required", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "Readonly", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "Pick", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "Record", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "Exclude", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "Extract", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "Omit", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "NonNullable", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "Parameters", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "ConstructorParameters", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "ReturnType", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "InstanceType", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "Uppercase", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "Lowercase", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "Capitalize", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "Uncapitalize", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "ThisType", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "ArrayBuffer", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "ArrayBufferTypes", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "ArrayBufferLike", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "ArrayBufferConstructor", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "ArrayBufferView", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "DataView", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "DataViewConstructor", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "Int8Array", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "Int8ArrayConstructor", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "Uint8Array", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "Uint8ArrayConstructor", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "Uint8ClampedArray", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "Uint8ClampedArrayConstructor", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "Int16Array", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "Int16ArrayConstructor", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "Uint16Array", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "Uint16ArrayConstructor", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "Int32Array", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "Int32ArrayConstructor", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "Uint32Array", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "Uint32ArrayConstructor", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "Float32Array", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "Float32ArrayConstructor", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "Float64Array", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "Float64ArrayConstructor", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "Intl", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "AddEventListenerOptions", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "AesCbcParams", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "AesCtrParams", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "AesDerivedKeyParams", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "AesGcmParams", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "AesKeyAlgorithm", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "AesKeyGenParams", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "Algorithm", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "AnalyserOptions", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "AnimationEventInit", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "AnimationPlaybackEventInit", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "AssignedNodesOptions", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "AudioBufferOptions", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "AudioBufferSourceOptions", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "AudioConfiguration", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "AudioContextOptions", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "AudioNodeOptions", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "AudioProcessingEventInit", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "AudioTimestamp", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "AudioWorkletNodeOptions", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "AuthenticationExtensionsClientInputs", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "AuthenticationExtensionsClientOutputs", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "AuthenticatorSelectionCriteria", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "BiquadFilterOptions", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "BlobEventInit", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "BlobPropertyBag", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "CSSStyleSheetInit", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "CacheQueryOptions", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "CanvasRenderingContext2DSettings", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "ChannelMergerOptions", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "ChannelSplitterOptions", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "CheckVisibilityOptions", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "ClientQueryOptions", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "ClipboardEventInit", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "ClipboardItemOptions", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "CloseEventInit", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "CompositionEventInit", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "ComputedEffectTiming", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "ComputedKeyframe", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "ConstantSourceOptions", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "ConstrainBooleanParameters", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "ConstrainDOMStringParameters", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "ConstrainDoubleRange", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "ConstrainULongRange", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "ConvolverOptions", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "CredentialCreationOptions", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "CredentialPropertiesOutput", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "CredentialRequestOptions", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "CryptoKeyPair", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "CustomEventInit", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "DOMMatrix2DInit", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "DOMMatrixInit", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "DOMPointInit", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "DOMQuadInit", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "DOMRectInit", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "DelayOptions", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "DeviceMotionEventAccelerationInit", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "DeviceMotionEventInit", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "DeviceMotionEventRotationRateInit", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "DeviceOrientationEventInit", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "DisplayMediaStreamOptions", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "DocumentTimelineOptions", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "DoubleRange", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "DragEventInit", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "DynamicsCompressorOptions", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "EcKeyAlgorithm", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "EcKeyGenParams", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "EcKeyImportParams", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "EcdhKeyDeriveParams", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "EcdsaParams", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "EffectTiming", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "ElementCreationOptions", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "ElementDefinitionOptions", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "ErrorEventInit", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "EventInit", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "EventListenerOptions", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "EventModifierInit", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "EventSourceInit", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "FilePropertyBag", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "FileSystemFlags", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "FileSystemGetDirectoryOptions", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "FileSystemGetFileOptions", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "FileSystemRemoveOptions", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "FocusEventInit", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "FocusOptions", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "FontFaceDescriptors", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "FontFaceSetLoadEventInit", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "FormDataEventInit", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "FullscreenOptions", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "GainOptions", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "GamepadEventInit", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "GetAnimationsOptions", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "GetNotificationOptions", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "GetRootNodeOptions", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "HashChangeEventInit", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "HkdfParams", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "HmacImportParams", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "HmacKeyAlgorithm", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "HmacKeyGenParams", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "IDBDatabaseInfo", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "IDBIndexParameters", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "IDBObjectStoreParameters", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "IDBTransactionOptions", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "IDBVersionChangeEventInit", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "IIRFilterOptions", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "IdleRequestOptions", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "ImageBitmapOptions", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "ImageBitmapRenderingContextSettings", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "ImageDataSettings", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "ImageEncodeOptions", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "InputEventInit", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "IntersectionObserverEntryInit", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "IntersectionObserverInit", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "JsonWebKey", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "KeyAlgorithm", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "KeyboardEventInit", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "Keyframe", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "KeyframeAnimationOptions", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "KeyframeEffectOptions", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "LockInfo", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "LockManagerSnapshot", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "LockOptions", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "MIDIConnectionEventInit", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "MIDIMessageEventInit", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "MIDIOptions", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "MediaCapabilitiesDecodingInfo", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "MediaCapabilitiesEncodingInfo", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "MediaCapabilitiesInfo", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "MediaConfiguration", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "MediaDecodingConfiguration", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "MediaElementAudioSourceOptions", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "MediaEncodingConfiguration", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "MediaEncryptedEventInit", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "MediaImage", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "MediaKeyMessageEventInit", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "MediaKeySystemConfiguration", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "MediaKeySystemMediaCapability", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "MediaMetadataInit", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "MediaPositionState", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "MediaQueryListEventInit", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "MediaRecorderOptions", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "MediaSessionActionDetails", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "MediaStreamAudioSourceOptions", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "MediaStreamConstraints", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "MediaStreamTrackEventInit", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "MediaTrackCapabilities", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "MediaTrackConstraintSet", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "MediaTrackConstraints", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "MediaTrackSettings", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "MediaTrackSupportedConstraints", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "MessageEventInit", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "MouseEventInit", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "MultiCacheQueryOptions", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "MutationObserverInit", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "NavigationPreloadState", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "NotificationAction", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "NotificationOptions", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "OfflineAudioCompletionEventInit", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "OfflineAudioContextOptions", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "OptionalEffectTiming", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "OscillatorOptions", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "PageTransitionEventInit", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "PannerOptions", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "PaymentCurrencyAmount", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "PaymentDetailsBase", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "PaymentDetailsInit", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "PaymentDetailsModifier", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "PaymentDetailsUpdate", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "PaymentItem", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "PaymentMethodChangeEventInit", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "PaymentMethodData", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "PaymentRequestUpdateEventInit", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "PaymentValidationErrors", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "Pbkdf2Params", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "PerformanceMarkOptions", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "PerformanceMeasureOptions", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "PerformanceObserverInit", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "PeriodicWaveConstraints", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "PeriodicWaveOptions", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "PermissionDescriptor", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "PictureInPictureEventInit", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "PointerEventInit", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "PopStateEventInit", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "PositionOptions", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "ProgressEventInit", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "PromiseRejectionEventInit", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "PropertyIndexedKeyframes", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "PublicKeyCredentialCreationOptions", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "PublicKeyCredentialDescriptor", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "PublicKeyCredentialEntity", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "PublicKeyCredentialParameters", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "PublicKeyCredentialRequestOptions", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "PublicKeyCredentialRpEntity", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "PublicKeyCredentialUserEntity", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "PushSubscriptionJSON", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "PushSubscriptionOptionsInit", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "QueuingStrategy", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "QueuingStrategyInit", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "RTCAnswerOptions", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "RTCCertificateExpiration", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "RTCConfiguration", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "RTCDTMFToneChangeEventInit", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "RTCDataChannelEventInit", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "RTCDataChannelInit", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "RTCDtlsFingerprint", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "RTCEncodedAudioFrameMetadata", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "RTCEncodedVideoFrameMetadata", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "RTCErrorEventInit", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "RTCErrorInit", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "RTCIceCandidateInit", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "RTCIceCandidatePairStats", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "RTCIceServer", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "RTCInboundRtpStreamStats", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "RTCLocalSessionDescriptionInit", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "RTCOfferAnswerOptions", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "RTCOfferOptions", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "RTCOutboundRtpStreamStats", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "RTCPeerConnectionIceErrorEventInit", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "RTCPeerConnectionIceEventInit", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "RTCReceivedRtpStreamStats", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "RTCRtcpParameters", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "RTCRtpCapabilities", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "RTCRtpCodecCapability", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "RTCRtpCodecParameters", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "RTCRtpCodingParameters", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "RTCRtpContributingSource", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "RTCRtpEncodingParameters", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "RTCRtpHeaderExtensionCapability", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "RTCRtpHeaderExtensionParameters", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "RTCRtpParameters", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "RTCRtpReceiveParameters", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "RTCRtpSendParameters", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "RTCRtpStreamStats", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "RTCRtpSynchronizationSource", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "RTCRtpTransceiverInit", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "RTCSentRtpStreamStats", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "RTCSessionDescriptionInit", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "RTCStats", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "RTCTrackEventInit", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "RTCTransportStats", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "ReadableStreamGetReaderOptions", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "ReadableStreamReadDoneResult", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "ReadableStreamReadValueResult", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "ReadableWritablePair", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "RegistrationOptions", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "RequestInit", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "ResizeObserverOptions", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "ResponseInit", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "RsaHashedImportParams", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "RsaHashedKeyAlgorithm", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "RsaHashedKeyGenParams", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "RsaKeyAlgorithm", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "RsaKeyGenParams", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "RsaOaepParams", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "RsaOtherPrimesInfo", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "RsaPssParams", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "SVGBoundingBoxOptions", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "ScrollIntoViewOptions", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "ScrollOptions", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "ScrollToOptions", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "SecurityPolicyViolationEventInit", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "ShadowRootInit", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "ShareData", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "SpeechSynthesisErrorEventInit", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "SpeechSynthesisEventInit", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "StaticRangeInit", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "StereoPannerOptions", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "StorageEstimate", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "StorageEventInit", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "StreamPipeOptions", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "StructuredSerializeOptions", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "SubmitEventInit", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "TextDecodeOptions", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "TextDecoderOptions", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "TextEncoderEncodeIntoResult", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "TouchEventInit", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "TouchInit", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "TrackEventInit", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "Transformer", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "TransitionEventInit", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "UIEventInit", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "ULongRange", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "UnderlyingByteSource", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "UnderlyingDefaultSource", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "UnderlyingSink", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "UnderlyingSource", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "ValidityStateFlags", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "VideoColorSpaceInit", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "VideoConfiguration", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "VideoFrameCallbackMetadata", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "WaveShaperOptions", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "WebGLContextAttributes", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "WebGLContextEventInit", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "WheelEventInit", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "WindowPostMessageOptions", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "WorkerOptions", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "WorkletOptions", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "NodeFilter", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "XPathNSResolver", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "ANGLE_instanced_arrays", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "ARIAMixin", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "AbortController", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "AbortSignalEventMap", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "AbortSignal", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "AbstractRange", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "AbstractWorkerEventMap", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "AbstractWorker", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "AnalyserNode", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "Animatable", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "AnimationEventMap", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "Animation", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "AnimationEffect", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "AnimationEvent", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "AnimationFrameProvider", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "AnimationPlaybackEvent", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "AnimationTimeline", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "Attr", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "AudioBuffer", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "AudioBufferSourceNode", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "AudioContext", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "AudioDestinationNode", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "AudioListener", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "AudioNode", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "AudioParam", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "AudioParamMap", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "AudioProcessingEvent", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "AudioScheduledSourceNodeEventMap", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "AudioScheduledSourceNode", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "AudioWorklet", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "AudioWorkletNodeEventMap", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "AudioWorkletNode", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "AuthenticatorAssertionResponse", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "AuthenticatorAttestationResponse", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "AuthenticatorResponse", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "BarProp", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "BaseAudioContextEventMap", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "BaseAudioContext", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "BeforeUnloadEvent", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "BiquadFilterNode", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "Blob", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "BlobEvent", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "Body", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "BroadcastChannelEventMap", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "BroadcastChannel", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "ByteLengthQueuingStrategy", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "CDATASection", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "CSSAnimation", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "CSSConditionRule", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "CSSContainerRule", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "CSSCounterStyleRule", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "CSSFontFaceRule", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "CSSFontFeatureValuesRule", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "CSSFontPaletteValuesRule", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "CSSGroupingRule", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "CSSImportRule", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "CSSKeyframeRule", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "CSSKeyframesRule", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "CSSLayerBlockRule", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "CSSLayerStatementRule", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "CSSMediaRule", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "CSSNamespaceRule", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "CSSPageRule", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "CSSRule", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "CSSRuleList", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "CSSStyleDeclaration", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "CSSStyleRule", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "CSSStyleSheet", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "CSSSupportsRule", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "CSSTransition", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "Cache", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "CacheStorage", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "CanvasCaptureMediaStreamTrack", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "CanvasCompositing", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "CanvasDrawImage", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "CanvasDrawPath", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "CanvasFillStrokeStyles", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "CanvasFilters", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "CanvasGradient", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "CanvasImageData", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "CanvasImageSmoothing", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "CanvasPath", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "CanvasPathDrawingStyles", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "CanvasPattern", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "CanvasRect", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "CanvasRenderingContext2D", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "CanvasShadowStyles", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "CanvasState", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "CanvasText", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "CanvasTextDrawingStyles", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "CanvasTransform", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "CanvasUserInterface", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "ChannelMergerNode", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "ChannelSplitterNode", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "CharacterData", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "ChildNode", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "ClientRect", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "Clipboard", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "ClipboardEvent", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "ClipboardItem", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "CloseEvent", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "Comment", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "CompositionEvent", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "ConstantSourceNode", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "ConvolverNode", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "CountQueuingStrategy", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "Credential", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "CredentialsContainer", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "Crypto", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "CryptoKey", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "CustomElementRegistry", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "CustomEvent", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "DOMException", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "DOMImplementation", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "DOMMatrix", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "SVGMatrix", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "WebKitCSSMatrix", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "DOMMatrixReadOnly", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "DOMParser", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "DOMPoint", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "SVGPoint", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "DOMPointReadOnly", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "DOMQuad", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "DOMRect", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "SVGRect", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "DOMRectList", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "DOMRectReadOnly", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "DOMStringList", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "DOMStringMap", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "DOMTokenList", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "DataTransfer", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "DataTransferItem", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "DataTransferItemList", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "DelayNode", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "DeviceMotionEvent", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "DeviceMotionEventAcceleration", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "DeviceMotionEventRotationRate", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "DeviceOrientationEvent", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "DocumentEventMap", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "Document", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "DocumentFragment", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "DocumentOrShadowRoot", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "DocumentTimeline", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "DocumentType", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "DragEvent", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "DynamicsCompressorNode", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "EXT_blend_minmax", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "EXT_color_buffer_float", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "EXT_color_buffer_half_float", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "EXT_float_blend", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "EXT_frag_depth", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "EXT_sRGB", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "EXT_shader_texture_lod", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "EXT_texture_compression_bptc", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "EXT_texture_compression_rgtc", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "EXT_texture_filter_anisotropic", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "EXT_texture_norm16", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "ElementEventMap", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "Element", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "ElementCSSInlineStyle", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "ElementContentEditable", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "ElementInternals", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "ErrorEvent", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "Event", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "EventCounts", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "EventListener", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "EventListenerObject", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "EventSourceEventMap", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "EventSource", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "EventTarget", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "External", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "File", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "FileList", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "FileReaderEventMap", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "FileReader", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "FileSystem", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "FileSystemDirectoryEntry", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "FileSystemDirectoryHandle", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "FileSystemDirectoryReader", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "FileSystemEntry", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "FileSystemFileEntry", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "FileSystemFileHandle", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "FileSystemHandle", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "FocusEvent", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "FontFace", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "FontFaceSetEventMap", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "FontFaceSet", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "FontFaceSetLoadEvent", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "FontFaceSource", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "FormData", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "FormDataEvent", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "GainNode", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "Gamepad", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "GamepadButton", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "GamepadEvent", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "GamepadHapticActuator", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "GenericTransformStream", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "Geolocation", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "GeolocationCoordinates", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "GeolocationPosition", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "GeolocationPositionError", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "GlobalEventHandlersEventMap", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "GlobalEventHandlers", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "HTMLAllCollection", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "HTMLAnchorElement", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "HTMLAreaElement", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "HTMLAudioElement", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "HTMLBRElement", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "HTMLBaseElement", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "HTMLBodyElementEventMap", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "HTMLBodyElement", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "HTMLButtonElement", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "HTMLCanvasElement", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "HTMLCollectionBase", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "HTMLCollection", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "HTMLCollectionOf", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "HTMLDListElement", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "HTMLDataElement", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "HTMLDataListElement", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "HTMLDetailsElement", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "HTMLDialogElement", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "HTMLDirectoryElement", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "HTMLDivElement", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "HTMLDocument", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "HTMLElementEventMap", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "HTMLElement", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "HTMLEmbedElement", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "HTMLFieldSetElement", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "HTMLFontElement", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "HTMLFormControlsCollection", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "HTMLFormElement", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "HTMLFrameElement", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "HTMLFrameSetElementEventMap", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "HTMLFrameSetElement", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "HTMLHRElement", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "HTMLHeadElement", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "HTMLHeadingElement", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "HTMLHtmlElement", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "HTMLHyperlinkElementUtils", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "HTMLIFrameElement", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "HTMLImageElement", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "HTMLInputElement", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "HTMLLIElement", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "HTMLLabelElement", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "HTMLLegendElement", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "HTMLLinkElement", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "HTMLMapElement", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "HTMLMarqueeElement", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "HTMLMediaElementEventMap", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "HTMLMediaElement", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "HTMLMenuElement", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "HTMLMetaElement", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "HTMLMeterElement", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "HTMLModElement", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "HTMLOListElement", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "HTMLObjectElement", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "HTMLOptGroupElement", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "HTMLOptionElement", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "HTMLOptionsCollection", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "HTMLOrSVGElement", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "HTMLOutputElement", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "HTMLParagraphElement", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "HTMLParamElement", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "HTMLPictureElement", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "HTMLPreElement", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "HTMLProgressElement", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "HTMLQuoteElement", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "HTMLScriptElement", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "HTMLSelectElement", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "HTMLSlotElement", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "HTMLSourceElement", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "HTMLSpanElement", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "HTMLStyleElement", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "HTMLTableCaptionElement", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "HTMLTableCellElement", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "HTMLTableColElement", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "HTMLTableDataCellElement", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "HTMLTableElement", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "HTMLTableHeaderCellElement", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "HTMLTableRowElement", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "HTMLTableSectionElement", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "HTMLTemplateElement", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "HTMLTextAreaElement", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "HTMLTimeElement", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "HTMLTitleElement", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "HTMLTrackElement", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "HTMLUListElement", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "HTMLUnknownElement", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "HTMLVideoElementEventMap", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "HTMLVideoElement", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "HashChangeEvent", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "Headers", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "History", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "IDBCursor", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "IDBCursorWithValue", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "IDBDatabaseEventMap", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "IDBDatabase", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "IDBFactory", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "IDBIndex", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "IDBKeyRange", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "IDBObjectStore", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "IDBOpenDBRequestEventMap", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "IDBOpenDBRequest", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "IDBRequestEventMap", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "IDBRequest", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "IDBTransactionEventMap", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "IDBTransaction", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "IDBVersionChangeEvent", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "IIRFilterNode", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "IdleDeadline", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "ImageBitmap", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "ImageBitmapRenderingContext", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "ImageData", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "InnerHTML", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "InputDeviceInfo", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "InputEvent", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "IntersectionObserver", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "IntersectionObserverEntry", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "KHR_parallel_shader_compile", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "KeyboardEvent", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "KeyframeEffect", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "LinkStyle", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "Location", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "Lock", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "LockManager", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "MIDIAccessEventMap", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "MIDIAccess", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "MIDIConnectionEvent", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "MIDIInputEventMap", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "MIDIInput", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "MIDIInputMap", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "MIDIMessageEvent", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "MIDIOutput", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "MIDIOutputMap", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "MIDIPortEventMap", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "MIDIPort", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "MathMLElementEventMap", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "MathMLElement", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "MediaCapabilities", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "MediaDeviceInfo", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "MediaDevicesEventMap", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "MediaDevices", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "MediaElementAudioSourceNode", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "MediaEncryptedEvent", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "MediaError", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "MediaKeyMessageEvent", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "MediaKeySessionEventMap", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "MediaKeySession", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "MediaKeyStatusMap", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "MediaKeySystemAccess", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "MediaKeys", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "MediaList", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "MediaMetadata", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "MediaQueryListEventMap", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "MediaQueryList", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "MediaQueryListEvent", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "MediaRecorderEventMap", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "MediaRecorder", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "MediaSession", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "MediaSourceEventMap", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "MediaSource", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "MediaStreamEventMap", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "MediaStream", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "MediaStreamAudioDestinationNode", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "MediaStreamAudioSourceNode", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "MediaStreamTrackEventMap", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "MediaStreamTrack", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "MediaStreamTrackEvent", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "MessageChannel", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "MessageEvent", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "MessagePortEventMap", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "MessagePort", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "MimeType", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "MimeTypeArray", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "MouseEvent", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "MutationEvent", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "MutationObserver", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "MutationRecord", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "NamedNodeMap", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "NavigationPreloadManager", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "Navigator", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "NavigatorAutomationInformation", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "NavigatorConcurrentHardware", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "NavigatorContentUtils", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "NavigatorCookies", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "NavigatorID", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "NavigatorLanguage", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "NavigatorLocks", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "NavigatorOnLine", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "NavigatorPlugins", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "NavigatorStorage", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "Node", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "NodeIterator", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "NodeList", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "NodeListOf", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "NonDocumentTypeChildNode", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "NonElementParentNode", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "NotificationEventMap", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "Notification", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "OES_draw_buffers_indexed", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "OES_element_index_uint", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "OES_fbo_render_mipmap", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "OES_standard_derivatives", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "OES_texture_float", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "OES_texture_float_linear", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "OES_texture_half_float", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "OES_texture_half_float_linear", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "OES_vertex_array_object", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "OVR_multiview2", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "OfflineAudioCompletionEvent", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "OfflineAudioContextEventMap", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "OfflineAudioContext", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "OffscreenCanvasEventMap", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "OffscreenCanvas", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "OffscreenCanvasRenderingContext2D", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "OscillatorNode", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "OverconstrainedError", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "PageTransitionEvent", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "PannerNode", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "ParentNode", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "Path2D", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "PaymentMethodChangeEvent", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "PaymentRequestEventMap", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "PaymentRequest", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "PaymentRequestUpdateEvent", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "PaymentResponse", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "PerformanceEventMap", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "Performance", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "PerformanceEntry", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "PerformanceEventTiming", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "PerformanceMark", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "PerformanceMeasure", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "PerformanceNavigation", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "PerformanceNavigationTiming", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "PerformanceObserver", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "PerformanceObserverEntryList", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "PerformancePaintTiming", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "PerformanceResourceTiming", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "PerformanceServerTiming", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "PerformanceTiming", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "PeriodicWave", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "PermissionStatusEventMap", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "PermissionStatus", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "Permissions", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "PictureInPictureEvent", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "PictureInPictureWindowEventMap", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "PictureInPictureWindow", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "Plugin", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "PluginArray", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "PointerEvent", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "PopStateEvent", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "ProcessingInstruction", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "ProgressEvent", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "PromiseRejectionEvent", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "PublicKeyCredential", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "PushManager", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "PushSubscription", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "PushSubscriptionOptions", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "RTCCertificate", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "RTCDTMFSenderEventMap", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "RTCDTMFSender", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "RTCDTMFToneChangeEvent", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "RTCDataChannelEventMap", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "RTCDataChannel", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "RTCDataChannelEvent", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "RTCDtlsTransportEventMap", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "RTCDtlsTransport", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "RTCEncodedAudioFrame", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "RTCEncodedVideoFrame", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "RTCError", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "RTCErrorEvent", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "RTCIceCandidate", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "RTCIceTransportEventMap", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "RTCIceTransport", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "RTCPeerConnectionEventMap", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "RTCPeerConnection", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "RTCPeerConnectionIceErrorEvent", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "RTCPeerConnectionIceEvent", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "RTCRtpReceiver", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "RTCRtpSender", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "RTCRtpTransceiver", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "RTCSctpTransportEventMap", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "RTCSctpTransport", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "RTCSessionDescription", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "RTCStatsReport", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "RTCTrackEvent", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "RadioNodeList", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "Range", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "ReadableByteStreamController", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "ReadableStream", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "ReadableStreamBYOBReader", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "ReadableStreamBYOBRequest", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "ReadableStreamDefaultController", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "ReadableStreamDefaultReader", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "ReadableStreamGenericReader", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "RemotePlaybackEventMap", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "RemotePlayback", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "Request", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "ResizeObserver", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "ResizeObserverEntry", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "ResizeObserverSize", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "Response", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "SVGAElement", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "SVGAngle", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "SVGAnimateElement", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "SVGAnimateMotionElement", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "SVGAnimateTransformElement", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "SVGAnimatedAngle", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "SVGAnimatedBoolean", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "SVGAnimatedEnumeration", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "SVGAnimatedInteger", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "SVGAnimatedLength", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "SVGAnimatedLengthList", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "SVGAnimatedNumber", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "SVGAnimatedNumberList", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "SVGAnimatedPoints", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "SVGAnimatedPreserveAspectRatio", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "SVGAnimatedRect", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "SVGAnimatedString", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "SVGAnimatedTransformList", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "SVGAnimationElement", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "SVGCircleElement", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "SVGClipPathElement", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "SVGComponentTransferFunctionElement", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "SVGDefsElement", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "SVGDescElement", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "SVGElementEventMap", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "SVGElement", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "SVGEllipseElement", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "SVGFEBlendElement", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "SVGFEColorMatrixElement", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "SVGFEComponentTransferElement", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "SVGFECompositeElement", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "SVGFEConvolveMatrixElement", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "SVGFEDiffuseLightingElement", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "SVGFEDisplacementMapElement", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "SVGFEDistantLightElement", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "SVGFEDropShadowElement", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "SVGFEFloodElement", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "SVGFEFuncAElement", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "SVGFEFuncBElement", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "SVGFEFuncGElement", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "SVGFEFuncRElement", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "SVGFEGaussianBlurElement", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "SVGFEImageElement", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "SVGFEMergeElement", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "SVGFEMergeNodeElement", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "SVGFEMorphologyElement", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "SVGFEOffsetElement", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "SVGFEPointLightElement", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "SVGFESpecularLightingElement", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "SVGFESpotLightElement", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "SVGFETileElement", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "SVGFETurbulenceElement", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "SVGFilterElement", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "SVGFilterPrimitiveStandardAttributes", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "SVGFitToViewBox", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "SVGForeignObjectElement", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "SVGGElement", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "SVGGeometryElement", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "SVGGradientElement", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "SVGGraphicsElement", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "SVGImageElement", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "SVGLength", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "SVGLengthList", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "SVGLineElement", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "SVGLinearGradientElement", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "SVGMPathElement", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "SVGMarkerElement", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "SVGMaskElement", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "SVGMetadataElement", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "SVGNumber", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "SVGNumberList", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "SVGPathElement", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "SVGPatternElement", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "SVGPointList", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "SVGPolygonElement", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "SVGPolylineElement", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "SVGPreserveAspectRatio", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "SVGRadialGradientElement", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "SVGRectElement", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "SVGSVGElementEventMap", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "SVGSVGElement", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "SVGScriptElement", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "SVGSetElement", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "SVGStopElement", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "SVGStringList", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "SVGStyleElement", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "SVGSwitchElement", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "SVGSymbolElement", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "SVGTSpanElement", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "SVGTests", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "SVGTextContentElement", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "SVGTextElement", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "SVGTextPathElement", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "SVGTextPositioningElement", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "SVGTitleElement", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "SVGTransform", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "SVGTransformList", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "SVGURIReference", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "SVGUnitTypes", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "SVGUseElement", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "SVGViewElement", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "Screen", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "ScreenOrientationEventMap", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "ScreenOrientation", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "ScriptProcessorNodeEventMap", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "ScriptProcessorNode", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "SecurityPolicyViolationEvent", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "Selection", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "ServiceWorkerEventMap", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "ServiceWorker", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "ServiceWorkerContainerEventMap", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "ServiceWorkerContainer", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "ServiceWorkerRegistrationEventMap", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "ServiceWorkerRegistration", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "ShadowRootEventMap", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "ShadowRoot", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "SharedWorker", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "Slottable", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "SourceBufferEventMap", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "SourceBuffer", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "SourceBufferListEventMap", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "SourceBufferList", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "SpeechRecognitionAlternative", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "SpeechRecognitionResult", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "SpeechRecognitionResultList", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "SpeechSynthesisEventMap", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "SpeechSynthesis", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "SpeechSynthesisErrorEvent", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "SpeechSynthesisEvent", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "SpeechSynthesisUtteranceEventMap", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "SpeechSynthesisUtterance", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "SpeechSynthesisVoice", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "StaticRange", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "StereoPannerNode", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "Storage", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "StorageEvent", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "StorageManager", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "StyleMedia", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "StyleSheet", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "StyleSheetList", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "SubmitEvent", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "SubtleCrypto", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "Text", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "TextDecoder", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "TextDecoderCommon", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "TextDecoderStream", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "TextEncoder", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "TextEncoderCommon", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "TextEncoderStream", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "TextMetrics", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "TextTrackEventMap", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "TextTrack", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "TextTrackCueEventMap", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "TextTrackCue", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "TextTrackCueList", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "TextTrackListEventMap", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "TextTrackList", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "TimeRanges", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "Touch", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "TouchEvent", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "TouchList", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "TrackEvent", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "TransformStream", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "TransformStreamDefaultController", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "TransitionEvent", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "TreeWalker", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "UIEvent", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "URL", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "webkitURL", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "URLSearchParams", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "VTTCue", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "VTTRegion", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "ValidityState", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "VideoColorSpace", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "VideoPlaybackQuality", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "VisualViewportEventMap", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "VisualViewport", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "WEBGL_color_buffer_float", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "WEBGL_compressed_texture_astc", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "WEBGL_compressed_texture_etc", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "WEBGL_compressed_texture_etc1", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "WEBGL_compressed_texture_s3tc", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "WEBGL_compressed_texture_s3tc_srgb", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "WEBGL_debug_renderer_info", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "WEBGL_debug_shaders", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "WEBGL_depth_texture", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "WEBGL_draw_buffers", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "WEBGL_lose_context", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "WEBGL_multi_draw", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "WaveShaperNode", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "WebGL2RenderingContext", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "WebGL2RenderingContextBase", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "WebGL2RenderingContextOverloads", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "WebGLActiveInfo", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "WebGLBuffer", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "WebGLContextEvent", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "WebGLFramebuffer", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "WebGLProgram", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "WebGLQuery", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "WebGLRenderbuffer", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "WebGLRenderingContext", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "WebGLRenderingContextBase", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "WebGLRenderingContextOverloads", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "WebGLSampler", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "WebGLShader", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "WebGLShaderPrecisionFormat", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "WebGLSync", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "WebGLTexture", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "WebGLTransformFeedback", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "WebGLUniformLocation", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "WebGLVertexArrayObject", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "WebGLVertexArrayObjectOES", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "WebSocketEventMap", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "WebSocket", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "WheelEvent", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "WindowEventMap", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "Window", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "WindowEventHandlersEventMap", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "WindowEventHandlers", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "WindowLocalStorage", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "WindowOrWorkerGlobalScope", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "WindowSessionStorage", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "WorkerEventMap", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "Worker", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "Worklet", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "WritableStream", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "WritableStreamDefaultController", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "WritableStreamDefaultWriter", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "XMLDocument", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "XMLHttpRequestEventMap", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "XMLHttpRequest", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "XMLHttpRequestEventTargetEventMap", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "XMLHttpRequestEventTarget", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "XMLHttpRequestUpload", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "XMLSerializer", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "XPathEvaluator", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "XPathEvaluatorBase", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "XPathExpression", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "XPathResult", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "XSLTProcessor", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "Console", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "CSS", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "WebAssembly", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "BlobCallback", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "CustomElementConstructor", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "DecodeErrorCallback", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "DecodeSuccessCallback", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "ErrorCallback", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "FileCallback", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "FileSystemEntriesCallback", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "FileSystemEntryCallback", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "FrameRequestCallback", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "FunctionStringCallback", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "IdleRequestCallback", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "IntersectionObserverCallback", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "LockGrantedCallback", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "MediaSessionActionHandler", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "MutationCallback", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "NotificationPermissionCallback", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "OnBeforeUnloadEventHandlerNonNull", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "OnErrorEventHandlerNonNull", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "PerformanceObserverCallback", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "PositionCallback", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "PositionErrorCallback", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "QueuingStrategySize", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "RTCPeerConnectionErrorCallback", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "RTCSessionDescriptionCallback", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "RemotePlaybackAvailabilityCallback", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "ResizeObserverCallback", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "TransformerFlushCallback", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "TransformerStartCallback", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "TransformerTransformCallback", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "UnderlyingSinkAbortCallback", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "UnderlyingSinkCloseCallback", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "UnderlyingSinkStartCallback", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "UnderlyingSinkWriteCallback", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "UnderlyingSourceCancelCallback", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "UnderlyingSourcePullCallback", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "UnderlyingSourceStartCallback", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "VideoFrameRequestCallback", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "VoidFunction", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "HTMLElementTagNameMap", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "HTMLElementDeprecatedTagNameMap", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "SVGElementTagNameMap", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "MathMLElementTagNameMap", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "ElementTagNameMap", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "AlgorithmIdentifier", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "BigInteger", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "BinaryData", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "BlobPart", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "BodyInit", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "BufferSource", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "COSEAlgorithmIdentifier", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "CSSNumberish", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "CanvasImageSource", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "ClipboardItemData", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "ClipboardItems", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "ConstrainBoolean", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "ConstrainDOMString", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "ConstrainDouble", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "ConstrainULong", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "DOMHighResTimeStamp", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "EpochTimeStamp", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "EventListenerOrEventListenerObject", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "Float32List", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "FormDataEntryValue", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "GLbitfield", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "GLboolean", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "GLclampf", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "GLenum", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "GLfloat", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "GLint", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "GLint64", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "GLintptr", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "GLsizei", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "GLsizeiptr", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "GLuint", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "GLuint64", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "HTMLOrSVGImageElement", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "HTMLOrSVGScriptElement", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "HashAlgorithmIdentifier", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "HeadersInit", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "IDBValidKey", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "ImageBitmapSource", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "Int32List", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "LineAndPositionSetting", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "MediaProvider", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "MessageEventSource", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "MutationRecordType", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "NamedCurve", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "OffscreenRenderingContext", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "OnBeforeUnloadEventHandler", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "OnErrorEventHandler", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "PerformanceEntryList", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "ReadableStreamController", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "ReadableStreamReadResult", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "ReadableStreamReader", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "RenderingContext", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "RequestInfo", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "TexImageSource", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "TimerHandler", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "Transferable", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "Uint32List", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "VibratePattern", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "WindowProxy", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "XMLHttpRequestBodyInit", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "AlignSetting", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "AnimationPlayState", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "AnimationReplaceState", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "AppendMode", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "AttestationConveyancePreference", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "AudioContextLatencyCategory", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "AudioContextState", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "AuthenticatorAttachment", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "AuthenticatorTransport", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "AutoKeyword", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "AutomationRate", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "BinaryType", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "BiquadFilterType", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "CanPlayTypeResult", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "CanvasDirection", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "CanvasFillRule", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "CanvasFontKerning", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "CanvasFontStretch", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "CanvasFontVariantCaps", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "CanvasLineCap", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "CanvasLineJoin", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "CanvasTextAlign", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "CanvasTextBaseline", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "CanvasTextRendering", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "ChannelCountMode", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "ChannelInterpretation", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "ClientTypes", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "ColorGamut", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "ColorSpaceConversion", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "CompositeOperation", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "CompositeOperationOrAuto", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "CredentialMediationRequirement", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "DOMParserSupportedType", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "DirectionSetting", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "DisplayCaptureSurfaceType", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "DistanceModelType", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "DocumentReadyState", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "DocumentVisibilityState", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "EndOfStreamError", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "EndingType", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "FileSystemHandleKind", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "FillMode", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "FontDisplay", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "FontFaceLoadStatus", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "FontFaceSetLoadStatus", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "FullscreenNavigationUI", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "GamepadHapticActuatorType", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "GamepadMappingType", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "GlobalCompositeOperation", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "HdrMetadataType", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "IDBCursorDirection", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "IDBRequestReadyState", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "IDBTransactionDurability", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "IDBTransactionMode", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "ImageOrientation", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "ImageSmoothingQuality", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "InsertPosition", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "IterationCompositeOperation", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "KeyFormat", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "KeyType", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "KeyUsage", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "LineAlignSetting", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "LockMode", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "MIDIPortConnectionState", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "MIDIPortDeviceState", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "MIDIPortType", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "MediaDecodingType", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "MediaDeviceKind", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "MediaEncodingType", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "MediaKeyMessageType", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "MediaKeySessionClosedReason", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "MediaKeySessionType", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "MediaKeyStatus", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "MediaKeysRequirement", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "MediaSessionAction", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "MediaSessionPlaybackState", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "MediaStreamTrackState", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "NavigationTimingType", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "NotificationDirection", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "NotificationPermission", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "OffscreenRenderingContextId", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "OrientationLockType", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "OrientationType", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "OscillatorType", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "OverSampleType", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "PanningModelType", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "PaymentComplete", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "PermissionName", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "PermissionState", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "PlaybackDirection", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "PositionAlignSetting", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "PredefinedColorSpace", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "PremultiplyAlpha", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "PresentationStyle", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "PublicKeyCredentialType", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "PushEncryptionKeyName", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "RTCBundlePolicy", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "RTCDataChannelState", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "RTCDegradationPreference", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "RTCDtlsTransportState", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "RTCEncodedVideoFrameType", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "RTCErrorDetailType", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "RTCIceCandidateType", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "RTCIceComponent", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "RTCIceConnectionState", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "RTCIceGathererState", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "RTCIceGatheringState", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "RTCIceProtocol", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "RTCIceTcpCandidateType", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "RTCIceTransportPolicy", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "RTCIceTransportState", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "RTCPeerConnectionState", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "RTCPriorityType", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "RTCRtcpMuxPolicy", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "RTCRtpTransceiverDirection", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "RTCSctpTransportState", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "RTCSdpType", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "RTCSignalingState", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "RTCStatsIceCandidatePairState", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "RTCStatsType", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "ReadableStreamReaderMode", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "ReadableStreamType", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "ReadyState", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "RecordingState", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "ReferrerPolicy", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "RemotePlaybackState", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "RequestCache", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "RequestCredentials", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "RequestDestination", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "RequestMode", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "RequestRedirect", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "ResidentKeyRequirement", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "ResizeObserverBoxOptions", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "ResizeQuality", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "ResponseType", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "ScrollBehavior", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "ScrollLogicalPosition", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "ScrollRestoration", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "ScrollSetting", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "SecurityPolicyViolationEventDisposition", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "SelectionMode", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "ServiceWorkerState", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "ServiceWorkerUpdateViaCache", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "ShadowRootMode", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "SlotAssignmentMode", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "SpeechSynthesisErrorCode", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "TextTrackKind", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "TextTrackMode", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "TouchType", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "TransferFunction", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "UserVerificationRequirement", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "VideoColorPrimaries", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "VideoFacingModeEnum", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "VideoMatrixCoefficients", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "VideoTransferCharacteristics", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "WebGLPowerPreference", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "WorkerType", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "XMLHttpRequestResponseType", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "ActiveXObject", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "ITextWriter", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "TextStreamBase", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "TextStreamWriter", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "TextStreamReader", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "SafeArray", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "Enumerator", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "EnumeratorConstructor", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "VBArray", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "VBArrayConstructor", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "VarDate", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "const", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "$$slots", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "$$props", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "$$restProps", + "identifiers": [], + "defs": [], + "references": [] + } + ], + "references": [], + "childScopes": [ + { + "type": "module", + "variables": [ + { + "name": "Component", + "identifiers": [ + { + "type": "Identifier", + "name": "Component", + "range": [ + 30, + 39 + ], + "loc": { + "start": { + "line": 2, + "column": 11 + }, + "end": { + "line": 2, + "column": 20 + } + } + } + ], + "defs": [ + { + "type": "ImportBinding", + "name": { + "type": "Identifier", + "name": "Component", + "range": [ + 30, + 39 + ], + "loc": { + "start": { + "line": 2, + "column": 11 + }, + "end": { + "line": 2, + "column": 20 + } + } + }, + "node": { + "type": "ImportDefaultSpecifier", + "local": { + "type": "Identifier", + "name": "Component", + "range": [ + 30, + 39 + ], + "loc": { + "start": { + "line": 2, + "column": 11 + }, + "end": { + "line": 2, + "column": 20 + } + } + }, + "range": [ + 30, + 39 + ], + "loc": { + "start": { + "line": 2, + "column": 11 + }, + "end": { + "line": 2, + "column": 20 + } + } + } + } + ], + "references": [ + { + "identifier": { + "type": "Identifier", + "name": "Component", + "range": [ + 86, + 95 + ], + "loc": { + "start": { + "line": 5, + "column": 1 + }, + "end": { + "line": 5, + "column": 10 + } + } + }, + "from": "module", + "init": null, + "resolved": { + "type": "Identifier", + "name": "Component", + "range": [ + 30, + 39 + ], + "loc": { + "start": { + "line": 2, + "column": 11 + }, + "end": { + "line": 2, + "column": 20 + } + } + } + } + ] + } + ], + "references": [ + { + "identifier": { + "type": "Identifier", + "name": "Component", + "range": [ + 86, + 95 + ], + "loc": { + "start": { + "line": 5, + "column": 1 + }, + "end": { + "line": 5, + "column": 10 + } + } + }, + "from": "module", + "init": null, + "resolved": { + "type": "Identifier", + "name": "Component", + "range": [ + 30, + 39 + ], + "loc": { + "start": { + "line": 2, + "column": 11 + }, + "end": { + "line": 2, + "column": 20 + } + } + } + } + ], + "childScopes": [ + { + "type": "function", + "variables": [ + { + "name": "e", + "identifiers": [ + { + "type": "Identifier", + "name": "e", + "range": [ + 105, + 106 + ], + "loc": { + "start": { + "line": 5, + "column": 20 + }, + "end": { + "line": 5, + "column": 21 + } + } + } + ], + "defs": [ + { + "type": "Parameter", + "name": { + "type": "Identifier", + "name": "e", + "range": [ + 105, + 106 + ], + "loc": { + "start": { + "line": 5, + "column": 20 + }, + "end": { + "line": 5, + "column": 21 + } + } + }, + "node": { + "type": "ArrowFunctionExpression", + "async": false, + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "e", + "range": [ + 140, + 141 + ], + "loc": { + "start": { + "line": 7, + "column": 4 + }, + "end": { + "line": 7, + "column": 5 + } + } + }, + "optional": false, + "property": { + "type": "Identifier", + "name": "detail", + "range": [ + 142, + 148 + ], + "loc": { + "start": { + "line": 7, + "column": 6 + }, + "end": { + "line": 7, + "column": 12 + } + } + }, + "range": [ + 140, + 148 + ], + "loc": { + "start": { + "line": 7, + "column": 4 + }, + "end": { + "line": 7, + "column": 12 + } + } + }, + "range": [ + 140, + 149 + ], + "loc": { + "start": { + "line": 7, + "column": 4 + }, + "end": { + "line": 7, + "column": 13 + } + } + } + ], + "range": [ + 108, + 151 + ], + "loc": { + "start": { + "line": 5, + "column": 23 + }, + "end": { + "line": 8, + "column": 1 + } + } + }, + "expression": false, + "generator": false, + "id": null, + "params": [ + { + "type": "Identifier", + "name": "e", + "range": [ + 105, + 106 + ], + "loc": { + "start": { + "line": 5, + "column": 20 + }, + "end": { + "line": 5, + "column": 21 + } + } + } + ], + "range": [ + 105, + 151 + ], + "loc": { + "start": { + "line": 5, + "column": 20 + }, + "end": { + "line": 8, + "column": 1 + } + } + } + } + ], + "references": [ + { + "identifier": { + "type": "Identifier", + "name": "e", + "range": [ + 140, + 141 + ], + "loc": { + "start": { + "line": 7, + "column": 4 + }, + "end": { + "line": 7, + "column": 5 + } + } + }, + "from": "function", + "init": null, + "resolved": { + "type": "Identifier", + "name": "e", + "range": [ + 105, + 106 + ], + "loc": { + "start": { + "line": 5, + "column": 20 + }, + "end": { + "line": 5, + "column": 21 + } + } + } + } + ] + } + ], + "references": [ + { + "identifier": { + "type": "Identifier", + "name": "e", + "range": [ + 140, + 141 + ], + "loc": { + "start": { + "line": 7, + "column": 4 + }, + "end": { + "line": 7, + "column": 5 + } + } + }, + "from": "function", + "init": null, + "resolved": { + "type": "Identifier", + "name": "e", + "range": [ + 105, + 106 + ], + "loc": { + "start": { + "line": 5, + "column": 20 + }, + "end": { + "line": 5, + "column": 21 + } + } + } + } + ], + "childScopes": [], + "through": [] + } + ], + "through": [] + } + ], + "through": [] +} \ No newline at end of file diff --git a/tests/fixtures/parser/ast/ts-event06-type-output.svelte b/tests/fixtures/parser/ast/ts-event06-type-output.svelte new file mode 100644 index 00000000..5646e07e --- /dev/null +++ b/tests/fixtures/parser/ast/ts-event06-type-output.svelte @@ -0,0 +1,8 @@ + + + diff --git a/tests/src/integrations.ts b/tests/src/integrations.ts index 2fd1e43f..bfbf6f3f 100644 --- a/tests/src/integrations.ts +++ b/tests/src/integrations.ts @@ -4,7 +4,7 @@ import assert from "assert"; import fs from "fs"; import * as parser from "../../src"; import { - BASIC_PARSER_OPTIONS, + generateParserOptions, getMessageData, listupFixtures, } from "./parser/test-utils"; @@ -21,7 +21,7 @@ function createLinter() { } describe("Integration tests.", () => { - for (const { input, inputFileName, outputFileName } of listupFixtures( + for (const { input, inputFileName, outputFileName, config } of listupFixtures( FIXTURE_ROOT )) { it(inputFileName, () => { @@ -39,7 +39,7 @@ describe("Integration tests.", () => { input, setup?.getConfig?.() ?? { parser: "svelte-eslint-parser", - parserOptions: BASIC_PARSER_OPTIONS, + parserOptions: generateParserOptions(config), env: { browser: true, es2021: true, diff --git a/tests/src/parser/error.ts b/tests/src/parser/error.ts index b79caed8..90ebca94 100644 --- a/tests/src/parser/error.ts +++ b/tests/src/parser/error.ts @@ -2,7 +2,7 @@ import assert from "assert"; import fs from "fs"; import { parseForESLint } from "../../../src"; import { - BASIC_PARSER_OPTIONS, + generateParserOptions, listupFixtures, astToJson, normalizeError, @@ -14,11 +14,8 @@ const ERROR_FIXTURE_ROOT = path.resolve( "../../fixtures/parser/error" ); -function parse(code: string, filePath: string) { - return parseForESLint(code, { - ...BASIC_PARSER_OPTIONS!, - filePath, - }); +function parse(code: string, filePath: string, config: any) { + return parseForESLint(code, generateParserOptions({ filePath }, config)); } describe("Check for Error.", () => { @@ -26,6 +23,7 @@ describe("Check for Error.", () => { input, inputFileName, outputFileName, + config, meetRequirements, } of listupFixtures(ERROR_FIXTURE_ROOT)) { describe(inputFileName, () => { @@ -34,7 +32,7 @@ describe("Check for Error.", () => { } it("most to the expected error.", () => { try { - parse(input, inputFileName); + parse(input, inputFileName, config); } catch (e) { const errorJson = astToJson(normalizeError(e)); const output = fs.readFileSync(outputFileName, "utf8"); diff --git a/tests/src/parser/eslint-rules.ts b/tests/src/parser/eslint-rules.ts index f08d9707..2fe6e67c 100644 --- a/tests/src/parser/eslint-rules.ts +++ b/tests/src/parser/eslint-rules.ts @@ -3,7 +3,7 @@ import assert from "assert"; import fs from "fs"; import * as parser from "../../../src/index"; import { - BASIC_PARSER_OPTIONS, + generateParserOptions, getMessageData, listupFixtures, } from "./test-utils"; @@ -39,6 +39,7 @@ describe("svelte-eslint-parser with ESLint rules", () => { for (const { input, inputFileName, + config, getRuleOutputFileName, } of listupFixtures()) { const linter = createLinter(); @@ -50,7 +51,7 @@ describe("svelte-eslint-parser with ESLint rules", () => { input, { parser: "svelte-eslint-parser", - parserOptions: BASIC_PARSER_OPTIONS, + parserOptions: generateParserOptions(config), rules: { [rule]: "error", }, diff --git a/tests/src/parser/eslint.ts b/tests/src/parser/eslint.ts index 5add3b1a..fed4fe58 100644 --- a/tests/src/parser/eslint.ts +++ b/tests/src/parser/eslint.ts @@ -2,7 +2,7 @@ import { Linter } from "eslint"; import assert from "assert"; import semver from "semver"; import * as parser from "../../../src/index"; -import { BASIC_PARSER_OPTIONS } from "./test-utils"; +import { generateParserOptions } from "./test-utils"; function createLinter() { const linter = new Linter(); @@ -246,10 +246,7 @@ describe("eslint custom parser", () => { const linter = createLinter(); const result = linter.verifyAndFix(code, { parser: "svelte-eslint-parser", - parserOptions: { - ...BASIC_PARSER_OPTIONS, - ...(parserOptions ? parserOptions : {}), - }, + parserOptions: generateParserOptions(parserOptions), rules: { "no-unused-labels": "error", "no-extra-label": "error", diff --git a/tests/src/parser/parser.ts b/tests/src/parser/parser.ts index 7e0ac95e..02e11167 100644 --- a/tests/src/parser/parser.ts +++ b/tests/src/parser/parser.ts @@ -6,7 +6,7 @@ import semver from "semver"; import { traverseNodes } from "../../../src/traverse"; import { parseForESLint } from "../../../src"; import { - BASIC_PARSER_OPTIONS, + generateParserOptions, listupFixtures, astToJson, scopeToJSON, @@ -14,11 +14,8 @@ import { import type { Comment, SvelteProgram, Token } from "../../../src/ast"; import { sortNodes } from "../../../src/parser/sort"; -function parse(code: string, filePath: string) { - return parseForESLint(code, { - ...BASIC_PARSER_OPTIONS!, - filePath, - }); +function parse(code: string, filePath: string, config: any) { + return parseForESLint(code, generateParserOptions({ filePath }, config)); } describe("Check for AST.", () => { @@ -27,13 +24,14 @@ describe("Check for AST.", () => { inputFileName, outputFileName, scopeFileName, + config, meetRequirements, } of listupFixtures()) { describe(inputFileName, () => { let result: any; it("most to generate the expected AST.", () => { - result = parse(input, inputFileName); + result = parse(input, inputFileName, config); if (!meetRequirements("test")) { return; } @@ -72,7 +70,7 @@ describe("Check for AST.", () => { it("even if Win, it must be correct.", () => { const inputForWin = input.replace(/\n/g, "\r\n"); // check - const astForWin = parse(inputForWin, inputFileName).ast; + const astForWin = parse(inputForWin, inputFileName, config).ast; // check tokens checkTokens(astForWin, inputForWin); }); diff --git a/tests/src/parser/test-utils.ts b/tests/src/parser/test-utils.ts index 6d8d9aff..b5336b37 100644 --- a/tests/src/parser/test-utils.ts +++ b/tests/src/parser/test-utils.ts @@ -9,7 +9,7 @@ import type * as TSESScopes from "@typescript-eslint/scope-manager"; import type { SvelteNode } from "../../../src/ast"; const AST_FIXTURE_ROOT = path.resolve(__dirname, "../../fixtures/parser/ast"); -export const BASIC_PARSER_OPTIONS: Linter.BaseConfig["parserOptions"] = { +const BASIC_PARSER_OPTIONS: Linter.ParserOptions = { ecmaVersion: 2020, parser: { ts: "@typescript-eslint/parser", @@ -18,12 +18,22 @@ export const BASIC_PARSER_OPTIONS: Linter.BaseConfig["parserOptions"] = { project: require.resolve("../../fixtures/tsconfig.test.json"), extraFileExtensions: [".svelte"], }; -export function* listupFixtures(dir?: string): IterableIterator<{ +export function generateParserOptions( + ...options: Linter.ParserOptions[] +): Linter.ParserOptions { + let result = { ...BASIC_PARSER_OPTIONS }; + for (const option of options) { + result = { ...result, ...option }; + } + return result; +} +export function* listupFixtures(dir?: string): Iterable<{ input: string; inputFileName: string; outputFileName: string; scopeFileName: string; typeFileName: string | null; + config: Linter.ParserOptions; requirements: { scope?: Record; }; @@ -33,12 +43,13 @@ export function* listupFixtures(dir?: string): IterableIterator<{ yield* listupFixturesImpl(dir || AST_FIXTURE_ROOT); } -function* listupFixturesImpl(dir: string): IterableIterator<{ +function* listupFixturesImpl(dir: string): Iterable<{ input: string; inputFileName: string; outputFileName: string; scopeFileName: string; typeFileName: string | null; + config: Linter.ParserOptions; requirements: { scope?: Record; }; @@ -60,6 +71,10 @@ function* listupFixturesImpl(dir: string): IterableIterator<{ /input\.svelte$/u, "type-output.svelte" ); + const configFileName = inputFileName.replace( + /input\.svelte$/u, + "config.json" + ); const requirementsFileName = inputFileName.replace( /input\.svelte$/u, "requirements.json" @@ -69,12 +84,16 @@ function* listupFixturesImpl(dir: string): IterableIterator<{ const requirements = fs.existsSync(requirementsFileName) ? JSON.parse(fs.readFileSync(requirementsFileName, "utf-8")) : {}; + const config = fs.existsSync(configFileName) + ? JSON.parse(fs.readFileSync(configFileName, "utf-8")) + : {}; yield { input, inputFileName, outputFileName, scopeFileName, typeFileName: fs.existsSync(typeFileName) ? typeFileName : null, + config, requirements, getRuleOutputFileName: (ruleName) => { return inputFileName.replace( diff --git a/tests/src/parser/typescript/index.ts b/tests/src/parser/typescript/index.ts index 61e9b51a..d73a45b5 100644 --- a/tests/src/parser/typescript/index.ts +++ b/tests/src/parser/typescript/index.ts @@ -2,17 +2,21 @@ import { Context } from "../../../../src/context"; import { parseScript } from "../../../../src/parser/script"; import { parseTemplate } from "../../../../src/parser/template"; import { parseTypeScript } from "../../../../src/parser/typescript"; -import { BASIC_PARSER_OPTIONS, listupFixtures } from "../test-utils"; +import { generateParserOptions, listupFixtures } from "../test-utils"; import { assertResult } from "./assert-result"; describe("Check for typescript analyze result.", () => { - for (const { input, inputFileName, meetRequirements } of listupFixtures()) { + for (const { + input, + inputFileName, + config, + meetRequirements, + } of listupFixtures()) { if (!input.includes('lang="ts"')) { continue; } describe(inputFileName, () => { - const parserOptions = { - ...BASIC_PARSER_OPTIONS, + const parserOptions = generateParserOptions(config, { ecmaVersion: 2020, sourceType: "module", loc: true, @@ -23,8 +27,7 @@ describe("Check for typescript analyze result.", () => { eslintVisitorKeys: true, eslintScopeManager: true, filePath: inputFileName, - }; - + }); const ctx = new Context(input, parserOptions); parseTemplate(ctx.sourceCode.template, ctx, parserOptions); diff --git a/tools/update-fixtures.ts b/tools/update-fixtures.ts index 130be236..70cdb49c 100644 --- a/tools/update-fixtures.ts +++ b/tools/update-fixtures.ts @@ -4,7 +4,7 @@ import { Linter } from "eslint"; import * as parser from "../src/index"; import { parseForESLint } from "../src/parser"; import { - BASIC_PARSER_OPTIONS, + generateParserOptions, getMessageData, listupFixtures, astToJson, @@ -37,11 +37,8 @@ const RULES = [ /** * Parse */ -function parse(code: string, filePath: string) { - return parseForESLint(code, { - ...BASIC_PARSER_OPTIONS!, - filePath, - }); +function parse(code: string, filePath: string, config: any) { + return parseForESLint(code, generateParserOptions({ filePath }, config)); } for (const { @@ -50,13 +47,14 @@ for (const { outputFileName, scopeFileName, typeFileName, + config, getRuleOutputFileName, } of listupFixtures()) { // if (!inputFileName.includes("test")) continue; try { // eslint-disable-next-line no-console -- ignore console.log(inputFileName); - const result = parse(input, inputFileName); + const result = parse(input, inputFileName, config); const astJson = astToJson(result.ast); fs.writeFileSync(outputFileName, astJson, "utf8"); const scopeJson = scopeToJSON(result.scopeManager); @@ -78,7 +76,7 @@ for (const { input, { parser: "svelte-eslint-parser", - parserOptions: BASIC_PARSER_OPTIONS, + parserOptions: generateParserOptions(config), rules: { [rule]: "error", }, @@ -105,13 +103,13 @@ for (const { } } -for (const { input, inputFileName, outputFileName } of listupFixtures( +for (const { input, inputFileName, outputFileName, config } of listupFixtures( ERROR_FIXTURE_ROOT )) { // eslint-disable-next-line no-console -- ignore console.log(inputFileName); try { - parse(input, inputFileName); + parse(input, inputFileName, config); } catch (e) { const errorJson = astToJson(normalizeError(e)); fs.writeFileSync(outputFileName, errorJson, "utf8");