feat(es): Support type-only import equals declaration (#1695)

Co-authored-by: 강동윤 <kdy1997.dev@gmail.com>
This commit is contained in:
Pig Fang 2021-05-15 13:26:24 +08:00 committed by GitHub
parent f0d7a3d064
commit 1dbc3644a5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
180 changed files with 434 additions and 146 deletions

View File

@ -11,7 +11,7 @@ edition = "2018"
license = "Apache-2.0/MIT"
name = "swc"
repository = "https://github.com/swc-project/swc.git"
version = "0.19.0"
version = "0.20.0"
[lib]
name = "swc"
@ -30,12 +30,12 @@ serde_json = "1"
sourcemap = "6"
swc_atoms = {version = "0.2", path = "./atoms"}
swc_common = {version = "0.10.16", path = "./common", features = ["sourcemap", "concurrent"]}
swc_ecma_ast = {version = "0.44.0", path = "./ecmascript/ast"}
swc_ecma_codegen = {version = "0.54.0", path = "./ecmascript/codegen"}
swc_ecma_ext_transforms = {version = "0.14.0", path = "./ecmascript/ext-transforms"}
swc_ecma_parser = {version = "0.56.0", path = "./ecmascript/parser"}
swc_ecma_preset_env = {version = "0.19.0", path = "./ecmascript/preset_env"}
swc_ecma_transforms = {version = "0.49.0", path = "./ecmascript/transforms", features = [
swc_ecma_ast = {version = "0.45.0", path = "./ecmascript/ast"}
swc_ecma_codegen = {version = "0.55.0", path = "./ecmascript/codegen"}
swc_ecma_ext_transforms = {version = "0.15.0", path = "./ecmascript/ext-transforms"}
swc_ecma_parser = {version = "0.57.0", path = "./ecmascript/parser"}
swc_ecma_preset_env = {version = "0.20.0", path = "./ecmascript/preset_env"}
swc_ecma_transforms = {version = "0.50.0", path = "./ecmascript/transforms", features = [
"compat",
"module",
"optimization",
@ -43,8 +43,8 @@ swc_ecma_transforms = {version = "0.49.0", path = "./ecmascript/transforms", fea
"react",
"typescript",
]}
swc_ecma_utils = {version = "0.35.0", path = "./ecmascript/utils"}
swc_ecma_visit = {version = "0.30.0", path = "./ecmascript/visit"}
swc_ecma_utils = {version = "0.36.0", path = "./ecmascript/utils"}
swc_ecma_visit = {version = "0.31.0", path = "./ecmascript/visit"}
swc_node_base = {version = "0.1.0", path = "./node/base"}
swc_visit = {version = "0.2.3", path = "./visit"}

View File

@ -9,7 +9,7 @@ include = ["Cargo.toml", "build.rs", "src/**/*.rs", "src/**/*.js"]
license = "Apache-2.0/MIT"
name = "swc_bundler"
repository = "https://github.com/swc-project/swc.git"
version = "0.36.0"
version = "0.37.0"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[features]
@ -33,19 +33,19 @@ relative-path = "1.2"
retain_mut = "0.1.2"
swc_atoms = {version = "0.2.4", path = "../atoms"}
swc_common = {version = "0.10.16", path = "../common"}
swc_ecma_ast = {version = "0.44.0", path = "../ecmascript/ast"}
swc_ecma_codegen = {version = "0.54.0", path = "../ecmascript/codegen"}
swc_ecma_parser = {version = "0.56.0", path = "../ecmascript/parser"}
swc_ecma_transforms = {version = "0.49.0", path = "../ecmascript/transforms", features = ["optimization"]}
swc_ecma_utils = {version = "0.35.0", path = "../ecmascript/utils"}
swc_ecma_visit = {version = "0.30.0", path = "../ecmascript/visit"}
swc_ecma_ast = {version = "0.45.0", path = "../ecmascript/ast"}
swc_ecma_codegen = {version = "0.55.0", path = "../ecmascript/codegen"}
swc_ecma_parser = {version = "0.57.0", path = "../ecmascript/parser"}
swc_ecma_transforms = {version = "0.50.0", path = "../ecmascript/transforms", features = ["optimization"]}
swc_ecma_utils = {version = "0.36.0", path = "../ecmascript/utils"}
swc_ecma_visit = {version = "0.31.0", path = "../ecmascript/visit"}
[dev-dependencies]
hex = "0.4"
ntest = "0.7.2"
reqwest = {version = "0.10.8", features = ["blocking"]}
sha-1 = "0.9"
swc_ecma_transforms = {version = "0.49.0", path = "../ecmascript/transforms", features = ["react", "typescript"]}
swc_ecma_transforms = {version = "0.50.0", path = "../ecmascript/transforms", features = ["react", "typescript"]}
tempfile = "3.1.0"
testing = {version = "0.10.5", path = "../testing"}
url = "2.1.1"

View File

@ -6,7 +6,7 @@ edition = "2018"
license = "Apache-2.0/MIT"
name = "swc_ecmascript"
repository = "https://github.com/swc-project/swc.git"
version = "0.35.0"
version = "0.36.0"
[package.metadata.docs.rs]
all-features = true
@ -27,12 +27,12 @@ react = ["swc_ecma_transforms/react"]
typescript = ["swc_ecma_transforms/typescript"]
[dependencies]
swc_ecma_ast = {version = "0.44.0", path = "./ast"}
swc_ecma_codegen = {version = "0.54.0", path = "./codegen", optional = true}
swc_ecma_dep_graph = {version = "0.24.0", path = "./dep-graph", optional = true}
swc_ecma_parser = {version = "0.56.0", path = "./parser", optional = true}
swc_ecma_transforms = {version = "0.49.0", path = "./transforms", optional = true}
swc_ecma_utils = {version = "0.35.0", path = "./utils", optional = true}
swc_ecma_visit = {version = "0.30.0", path = "./visit", optional = true}
swc_ecma_ast = {version = "0.45.0", path = "./ast"}
swc_ecma_codegen = {version = "0.55.0", path = "./codegen", optional = true}
swc_ecma_dep_graph = {version = "0.25.0", path = "./dep-graph", optional = true}
swc_ecma_parser = {version = "0.57.0", path = "./parser", optional = true}
swc_ecma_transforms = {version = "0.50.0", path = "./transforms", optional = true}
swc_ecma_utils = {version = "0.36.0", path = "./utils", optional = true}
swc_ecma_visit = {version = "0.31.0", path = "./visit", optional = true}
[dev-dependencies]

View File

@ -6,7 +6,7 @@ edition = "2018"
license = "Apache-2.0/MIT"
name = "swc_ecma_ast"
repository = "https://github.com/swc-project/swc.git"
version = "0.44.0"
version = "0.45.0"
[features]
default = []

View File

@ -911,6 +911,7 @@ pub struct TsImportEqualsDecl {
pub span: Span,
pub declare: bool,
pub is_export: bool,
pub is_type_only: bool,
pub id: Ident,
pub module_ref: TsModuleRef,
}

View File

@ -7,7 +7,7 @@ include = ["Cargo.toml", "src/**/*.rs"]
license = "Apache-2.0/MIT"
name = "swc_ecma_codegen"
repository = "https://github.com/swc-project/swc.git"
version = "0.54.0"
version = "0.55.0"
[dependencies]
bitflags = "1"
@ -15,9 +15,9 @@ num-bigint = {version = "0.2", features = ["serde"]}
sourcemap = "6"
swc_atoms = {version = "0.2", path = "../../atoms"}
swc_common = {version = "0.10.16", path = "../../common"}
swc_ecma_ast = {version = "0.44.0", path = "../ast"}
swc_ecma_ast = {version = "0.45.0", path = "../ast"}
swc_ecma_codegen_macros = {version = "0.5.2", path = "./macros"}
swc_ecma_parser = {version = "0.56.0", path = "../parser"}
swc_ecma_parser = {version = "0.57.0", path = "../parser"}
[dev-dependencies]
swc_common = {version = "0.10.16", path = "../../common", features = ["sourcemap"]}

View File

@ -250,7 +250,17 @@ impl<'a> Emitter<'a> {
}
keyword!("import");
space!();
if n.is_type_only {
keyword!("type");
space!();
}
emit!(n.id);
formatting_space!();
punct!("=");
formatting_space!();

View File

@ -6,14 +6,14 @@ edition = "2018"
license = "Apache-2.0/MIT"
name = "swc_ecma_dep_graph"
repository = "https://github.com/swc-project/swc.git"
version = "0.24.0"
version = "0.25.0"
[dependencies]
swc_atoms = {version = "0.2", path = "../../atoms"}
swc_common = {version = "0.10.16", path = "../../common"}
swc_ecma_ast = {version = "0.44.0", path = "../ast"}
swc_ecma_visit = {version = "0.30.0", path = "../visit"}
swc_ecma_ast = {version = "0.45.0", path = "../ast"}
swc_ecma_visit = {version = "0.31.0", path = "../visit"}
[dev-dependencies]
swc_ecma_parser = {version = "0.56.0", path = "../parser"}
swc_ecma_parser = {version = "0.57.0", path = "../parser"}
testing = {version = "0.10.5", path = "../../testing"}

View File

@ -5,7 +5,7 @@ documentation = "https://rustdoc.swc.rs/swc_ecma_ext_transforms/"
edition = "2018"
license = "Apache-2.0/MIT"
name = "swc_ecma_ext_transforms"
version = "0.14.0"
version = "0.15.0"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
@ -13,7 +13,7 @@ version = "0.14.0"
phf = {version = "0.8.0", features = ["macros"]}
swc_atoms = {version = "0.2", path = "../../atoms"}
swc_common = {version = "0.10.16", path = "../../common"}
swc_ecma_ast = {version = "0.44.0", path = "../ast"}
swc_ecma_parser = {version = "0.56.0", path = "../parser"}
swc_ecma_utils = {version = "0.35.0", path = "../utils"}
swc_ecma_visit = {version = "0.30.0", path = "../visit"}
swc_ecma_ast = {version = "0.45.0", path = "../ast"}
swc_ecma_parser = {version = "0.57.0", path = "../parser"}
swc_ecma_utils = {version = "0.36.0", path = "../utils"}
swc_ecma_visit = {version = "0.31.0", path = "../visit"}

View File

@ -5,7 +5,7 @@ documentation = "https://rustdoc.swc.rs/jsdoc/"
edition = "2018"
license = "Apache-2.0/MIT"
name = "jsdoc"
version = "0.24.0"
version = "0.25.0"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
@ -18,7 +18,7 @@ swc_common = {version = "0.10.16", path = "../../common"}
[dev-dependencies]
anyhow = "1"
dashmap = "4.0.2"
swc_ecma_ast = {version = "0.44.0", path = "../ast"}
swc_ecma_parser = {version = "0.56.0", path = "../parser"}
swc_ecma_ast = {version = "0.45.0", path = "../ast"}
swc_ecma_parser = {version = "0.57.0", path = "../parser"}
testing = {version = "0.10.5", path = "../../testing"}
walkdir = "2"

View File

@ -6,15 +6,15 @@ edition = "2018"
license = "Apache-2.0/MIT"
name = "swc_ecma_loader"
repository = "https://github.com/swc-project/swc.git"
version = "0.5.0"
version = "0.6.0"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
swc_atoms = {version = "0.2.3", path = "../../atoms"}
swc_common = {version = "0.10.16", path = "../../common"}
swc_ecma_ast = {version = "0.44.0", path = "../ast"}
swc_ecma_visit = {version = "0.30.0", path = "../visit"}
swc_ecma_ast = {version = "0.45.0", path = "../ast"}
swc_ecma_visit = {version = "0.31.0", path = "../visit"}
[dev-dependencies]
testing = {version = "0.10.5", path = "../../testing"}

View File

@ -7,7 +7,7 @@ include = ["Cargo.toml", "src/**/*.rs", "examples/**/*.rs"]
license = "Apache-2.0/MIT"
name = "swc_ecma_parser"
repository = "https://github.com/swc-project/swc.git"
version = "0.56.3"
version = "0.57.0"
[features]
default = []
@ -22,8 +22,8 @@ serde = {version = "1", features = ["derive"]}
smallvec = "1"
swc_atoms = {version = "0.2.3", path = "../../atoms"}
swc_common = {version = "0.10.16", path = "../../common"}
swc_ecma_ast = {version = "0.44.0", path = "../ast"}
swc_ecma_visit = {version = "0.30.0", path = "../visit"}
swc_ecma_ast = {version = "0.45.0", path = "../ast"}
swc_ecma_visit = {version = "0.31.0", path = "../visit"}
unicode-xid = "0.2"
[dev-dependencies]

View File

@ -45,7 +45,9 @@ impl<'a, I: Tokens> Parser<I> {
if self.input.syntax().typescript() && is!(self, IdentRef) && peeked_is!(self, '=') {
return self
.parse_ts_import_equals_decl(start, false)
.parse_ts_import_equals_decl(
start, /* is_export */ false, /* is_type_only */ false,
)
.map(ModuleDecl::from)
.map(ModuleItem::from);
}
@ -81,6 +83,15 @@ impl<'a, I: Tokens> Parser<I> {
if type_only {
assert_and_bump!(self, "type");
if is!(self, IdentRef) && peeked_is!(self, '=') {
return self
.parse_ts_import_equals_decl(
start, /* is_export */ false, /* is_type_only */ true,
)
.map(ModuleDecl::from)
.map(ModuleItem::from);
}
}
let mut specifiers = vec![];
@ -262,7 +273,9 @@ impl<'a, I: Tokens> Parser<I> {
if eat!(self, "import") {
// export import A = B
return self
.parse_ts_import_equals_decl(start, /* is_export */ true)
.parse_ts_import_equals_decl(
start, /* is_export */ true, /* is_type_only */ false,
)
.map(From::from);
}

View File

@ -973,6 +973,7 @@ impl<I: Tokens> Parser<I> {
&mut self,
start: BytePos,
is_export: bool,
is_type_only: bool,
) -> PResult<TsImportEqualsDecl> {
debug_assert!(self.input.syntax().typescript());
@ -986,6 +987,7 @@ impl<I: Tokens> Parser<I> {
declare: false,
id,
is_export,
is_type_only,
module_ref,
})
}

View File

@ -0,0 +1 @@
import type { MyType } = require('commonjs-package')

View File

@ -0,0 +1,6 @@
error: Expected from, got =
--> $DIR/tests/typescript-errors/type-only-import-equals-decl/named/input.ts:1:24
|
1 | import type { MyType } = require('commonjs-package')
| ^

View File

@ -0,0 +1 @@
import type * as MyType = require('commonjs-package')

View File

@ -0,0 +1,6 @@
error: Expected from, got =
--> $DIR/tests/typescript-errors/type-only-import-equals-decl/namespace/input.ts:1:25
|
1 | import type * as MyType = require('commonjs-package')
| ^

View File

@ -15,6 +15,7 @@
},
"declare": false,
"isExport": false,
"isTypeOnly": false,
"id": {
"type": "Identifier",
"span": {

View File

@ -0,0 +1 @@
import type MyType = require('commonjs-package')

View File

@ -0,0 +1,54 @@
{
"type": "Module",
"span": {
"start": 0,
"end": 48,
"ctxt": 0
},
"body": [
{
"type": "TsImportEqualsDeclaration",
"span": {
"start": 0,
"end": 48,
"ctxt": 0
},
"declare": false,
"isExport": false,
"isTypeOnly": true,
"id": {
"type": "Identifier",
"span": {
"start": 12,
"end": 18,
"ctxt": 0
},
"value": "MyType",
"optional": false
},
"moduleRef": {
"type": "TsExternalModuleReference",
"span": {
"start": 21,
"end": 48,
"ctxt": 0
},
"expression": {
"type": "StringLiteral",
"span": {
"start": 29,
"end": 47,
"ctxt": 0
},
"value": "commonjs-package",
"hasEscape": false,
"kind": {
"type": "normal",
"containsQuote": true
}
}
}
}
],
"interpreter": null
}

View File

@ -15,6 +15,7 @@
},
"declare": false,
"isExport": false,
"isTypeOnly": false,
"id": {
"type": "Identifier",
"span": {

View File

@ -15,6 +15,7 @@
},
"declare": false,
"isExport": true,
"isTypeOnly": false,
"id": {
"type": "Identifier",
"span": {

View File

@ -15,6 +15,7 @@
},
"declare": false,
"isExport": true,
"isTypeOnly": false,
"id": {
"type": "Identifier",
"span": {

View File

@ -107,6 +107,7 @@
},
"declare": false,
"isExport": false,
"isTypeOnly": false,
"id": {
"type": "Identifier",
"span": {

View File

@ -59,6 +59,7 @@
},
"declare": false,
"isExport": false,
"isTypeOnly": false,
"id": {
"type": "Identifier",
"span": {

View File

@ -472,6 +472,7 @@
},
"declare": false,
"isExport": false,
"isTypeOnly": false,
"id": {
"type": "Identifier",
"span": {

View File

@ -472,6 +472,7 @@
},
"declare": false,
"isExport": false,
"isTypeOnly": false,
"id": {
"type": "Identifier",
"span": {

View File

@ -472,6 +472,7 @@
},
"declare": false,
"isExport": false,
"isTypeOnly": false,
"id": {
"type": "Identifier",
"span": {

View File

@ -544,6 +544,7 @@
},
"declare": false,
"isExport": true,
"isTypeOnly": false,
"id": {
"type": "Identifier",
"span": {

View File

@ -544,6 +544,7 @@
},
"declare": false,
"isExport": true,
"isTypeOnly": false,
"id": {
"type": "Identifier",
"span": {

View File

@ -544,6 +544,7 @@
},
"declare": false,
"isExport": true,
"isTypeOnly": false,
"id": {
"type": "Identifier",
"span": {

View File

@ -37,6 +37,7 @@
},
"declare": false,
"isExport": false,
"isTypeOnly": false,
"id": {
"type": "Identifier",
"span": {
@ -581,6 +582,7 @@
},
"declare": false,
"isExport": false,
"isTypeOnly": false,
"id": {
"type": "Identifier",
"span": {

View File

@ -37,6 +37,7 @@
},
"declare": false,
"isExport": false,
"isTypeOnly": false,
"id": {
"type": "Identifier",
"span": {
@ -581,6 +582,7 @@
},
"declare": false,
"isExport": false,
"isTypeOnly": false,
"id": {
"type": "Identifier",
"span": {

View File

@ -37,6 +37,7 @@
},
"declare": false,
"isExport": false,
"isTypeOnly": false,
"id": {
"type": "Identifier",
"span": {
@ -581,6 +582,7 @@
},
"declare": false,
"isExport": false,
"isTypeOnly": false,
"id": {
"type": "Identifier",
"span": {

View File

@ -102,6 +102,7 @@
},
"declare": false,
"isExport": false,
"isTypeOnly": false,
"id": {
"type": "Identifier",
"span": {

View File

@ -452,6 +452,7 @@
},
"declare": false,
"isExport": false,
"isTypeOnly": false,
"id": {
"type": "Identifier",
"span": {
@ -494,6 +495,7 @@
},
"declare": false,
"isExport": false,
"isTypeOnly": false,
"id": {
"type": "Identifier",
"span": {

View File

@ -15,6 +15,7 @@
},
"declare": false,
"isExport": false,
"isTypeOnly": false,
"id": {
"type": "Identifier",
"span": {
@ -535,6 +536,7 @@
},
"declare": false,
"isExport": false,
"isTypeOnly": false,
"id": {
"type": "Identifier",
"span": {

View File

@ -126,6 +126,7 @@
},
"declare": false,
"isExport": false,
"isTypeOnly": false,
"id": {
"type": "Identifier",
"span": {

View File

@ -452,6 +452,7 @@
},
"declare": false,
"isExport": false,
"isTypeOnly": false,
"id": {
"type": "Identifier",
"span": {
@ -494,6 +495,7 @@
},
"declare": false,
"isExport": false,
"isTypeOnly": false,
"id": {
"type": "Identifier",
"span": {

View File

@ -15,6 +15,7 @@
},
"declare": false,
"isExport": false,
"isTypeOnly": false,
"id": {
"type": "Identifier",
"span": {

View File

@ -15,6 +15,7 @@
},
"declare": false,
"isExport": false,
"isTypeOnly": false,
"id": {
"type": "Identifier",
"span": {

View File

@ -75,6 +75,7 @@
},
"declare": false,
"isExport": false,
"isTypeOnly": false,
"id": {
"type": "Identifier",
"span": {

View File

@ -75,6 +75,7 @@
},
"declare": false,
"isExport": false,
"isTypeOnly": false,
"id": {
"type": "Identifier",
"span": {
@ -196,6 +197,7 @@
},
"declare": false,
"isExport": false,
"isTypeOnly": false,
"id": {
"type": "Identifier",
"span": {

View File

@ -583,6 +583,7 @@
},
"declare": false,
"isExport": false,
"isTypeOnly": false,
"id": {
"type": "Identifier",
"span": {
@ -683,6 +684,7 @@
},
"declare": false,
"isExport": false,
"isTypeOnly": false,
"id": {
"type": "Identifier",
"span": {
@ -783,6 +785,7 @@
},
"declare": false,
"isExport": false,
"isTypeOnly": false,
"id": {
"type": "Identifier",
"span": {
@ -883,6 +886,7 @@
},
"declare": false,
"isExport": false,
"isTypeOnly": false,
"id": {
"type": "Identifier",
"span": {
@ -1011,6 +1015,7 @@
},
"declare": false,
"isExport": false,
"isTypeOnly": false,
"id": {
"type": "Identifier",
"span": {
@ -1121,6 +1126,7 @@
},
"declare": false,
"isExport": false,
"isTypeOnly": false,
"id": {
"type": "Identifier",
"span": {
@ -1205,6 +1211,7 @@
},
"declare": false,
"isExport": false,
"isTypeOnly": false,
"id": {
"type": "Identifier",
"span": {

View File

@ -15,6 +15,7 @@
},
"declare": false,
"isExport": false,
"isTypeOnly": false,
"id": {
"type": "Identifier",
"span": {
@ -174,6 +175,7 @@
},
"declare": false,
"isExport": false,
"isTypeOnly": false,
"id": {
"type": "Identifier",
"span": {
@ -333,6 +335,7 @@
},
"declare": false,
"isExport": false,
"isTypeOnly": false,
"id": {
"type": "Identifier",
"span": {

View File

@ -313,6 +313,7 @@
},
"declare": false,
"isExport": false,
"isTypeOnly": false,
"id": {
"type": "Identifier",
"span": {

View File

@ -145,6 +145,7 @@
},
"declare": false,
"isExport": false,
"isTypeOnly": false,
"id": {
"type": "Identifier",
"span": {

View File

@ -411,6 +411,7 @@
},
"declare": false,
"isExport": false,
"isTypeOnly": false,
"id": {
"type": "Identifier",
"span": {

View File

@ -387,6 +387,7 @@
},
"declare": false,
"isExport": false,
"isTypeOnly": false,
"id": {
"type": "Identifier",
"span": {

View File

@ -182,6 +182,7 @@
},
"declare": false,
"isExport": false,
"isTypeOnly": false,
"id": {
"type": "Identifier",
"span": {

View File

@ -191,6 +191,7 @@
},
"declare": false,
"isExport": false,
"isTypeOnly": false,
"id": {
"type": "Identifier",
"span": {

View File

@ -169,6 +169,7 @@
},
"declare": false,
"isExport": false,
"isTypeOnly": false,
"id": {
"type": "Identifier",
"span": {

View File

@ -112,6 +112,7 @@
},
"declare": false,
"isExport": false,
"isTypeOnly": false,
"id": {
"type": "Identifier",
"span": {

View File

@ -170,6 +170,7 @@
},
"declare": false,
"isExport": false,
"isTypeOnly": false,
"id": {
"type": "Identifier",
"span": {

View File

@ -126,6 +126,7 @@
},
"declare": false,
"isExport": false,
"isTypeOnly": false,
"id": {
"type": "Identifier",
"span": {
@ -209,6 +210,7 @@
},
"declare": false,
"isExport": false,
"isTypeOnly": false,
"id": {
"type": "Identifier",
"span": {

View File

@ -94,6 +94,7 @@
},
"declare": false,
"isExport": false,
"isTypeOnly": false,
"id": {
"type": "Identifier",
"span": {

View File

@ -145,6 +145,7 @@
},
"declare": false,
"isExport": false,
"isTypeOnly": false,
"id": {
"type": "Identifier",
"span": {

View File

@ -245,6 +245,7 @@
},
"declare": false,
"isExport": false,
"isTypeOnly": false,
"id": {
"type": "Identifier",
"span": {

View File

@ -283,6 +283,7 @@
},
"declare": false,
"isExport": false,
"isTypeOnly": false,
"id": {
"type": "Identifier",
"span": {

View File

@ -64,6 +64,7 @@
},
"declare": false,
"isExport": false,
"isTypeOnly": false,
"id": {
"type": "Identifier",
"span": {

View File

@ -64,6 +64,7 @@
},
"declare": false,
"isExport": false,
"isTypeOnly": false,
"id": {
"type": "Identifier",
"span": {

View File

@ -211,6 +211,7 @@
},
"declare": false,
"isExport": false,
"isTypeOnly": false,
"id": {
"type": "Identifier",
"span": {
@ -253,6 +254,7 @@
},
"declare": false,
"isExport": false,
"isTypeOnly": false,
"id": {
"type": "Identifier",
"span": {
@ -295,6 +297,7 @@
},
"declare": false,
"isExport": false,
"isTypeOnly": false,
"id": {
"type": "Identifier",
"span": {

View File

@ -59,6 +59,7 @@
},
"declare": false,
"isExport": false,
"isTypeOnly": false,
"id": {
"type": "Identifier",
"span": {
@ -142,6 +143,7 @@
},
"declare": false,
"isExport": false,
"isTypeOnly": false,
"id": {
"type": "Identifier",
"span": {

View File

@ -64,6 +64,7 @@
},
"declare": false,
"isExport": false,
"isTypeOnly": false,
"id": {
"type": "Identifier",
"span": {

View File

@ -309,6 +309,7 @@
},
"declare": false,
"isExport": false,
"isTypeOnly": false,
"id": {
"type": "Identifier",
"span": {
@ -351,6 +352,7 @@
},
"declare": false,
"isExport": false,
"isTypeOnly": false,
"id": {
"type": "Identifier",
"span": {
@ -393,6 +395,7 @@
},
"declare": false,
"isExport": false,
"isTypeOnly": false,
"id": {
"type": "Identifier",
"span": {

View File

@ -106,6 +106,7 @@
},
"declare": false,
"isExport": false,
"isTypeOnly": false,
"id": {
"type": "Identifier",
"span": {

View File

@ -129,6 +129,7 @@
},
"declare": false,
"isExport": false,
"isTypeOnly": false,
"id": {
"type": "Identifier",
"span": {
@ -171,6 +172,7 @@
},
"declare": false,
"isExport": false,
"isTypeOnly": false,
"id": {
"type": "Identifier",
"span": {

View File

@ -72,6 +72,7 @@
},
"declare": false,
"isExport": false,
"isTypeOnly": false,
"id": {
"type": "Identifier",
"span": {

View File

@ -189,6 +189,7 @@
},
"declare": false,
"isExport": false,
"isTypeOnly": false,
"id": {
"type": "Identifier",
"span": {

View File

@ -135,6 +135,7 @@
},
"declare": false,
"isExport": false,
"isTypeOnly": false,
"id": {
"type": "Identifier",
"span": {

View File

@ -1694,6 +1694,7 @@
},
"declare": false,
"isExport": false,
"isTypeOnly": false,
"id": {
"type": "Identifier",
"span": {
@ -1864,6 +1865,7 @@
},
"declare": false,
"isExport": false,
"isTypeOnly": false,
"id": {
"type": "Identifier",
"span": {
@ -1984,6 +1986,7 @@
},
"declare": false,
"isExport": false,
"isTypeOnly": false,
"id": {
"type": "Identifier",
"span": {

View File

@ -264,6 +264,7 @@
},
"declare": false,
"isExport": false,
"isTypeOnly": false,
"id": {
"type": "Identifier",
"span": {

View File

@ -301,6 +301,7 @@
},
"declare": false,
"isExport": false,
"isTypeOnly": false,
"id": {
"type": "Identifier",
"span": {
@ -361,6 +362,7 @@
},
"declare": false,
"isExport": false,
"isTypeOnly": false,
"id": {
"type": "Identifier",
"span": {
@ -637,6 +639,7 @@
},
"declare": false,
"isExport": false,
"isTypeOnly": false,
"id": {
"type": "Identifier",
"span": {
@ -793,6 +796,7 @@
},
"declare": false,
"isExport": false,
"isTypeOnly": false,
"id": {
"type": "Identifier",
"span": {

View File

@ -331,6 +331,7 @@
},
"declare": false,
"isExport": false,
"isTypeOnly": false,
"id": {
"type": "Identifier",
"span": {
@ -391,6 +392,7 @@
},
"declare": false,
"isExport": false,
"isTypeOnly": false,
"id": {
"type": "Identifier",
"span": {
@ -421,6 +423,7 @@
},
"declare": false,
"isExport": false,
"isTypeOnly": false,
"id": {
"type": "Identifier",
"span": {
@ -732,6 +735,7 @@
},
"declare": false,
"isExport": false,
"isTypeOnly": false,
"id": {
"type": "Identifier",
"span": {
@ -864,6 +868,7 @@
},
"declare": false,
"isExport": false,
"isTypeOnly": false,
"id": {
"type": "Identifier",
"span": {

View File

@ -505,6 +505,7 @@
},
"declare": false,
"isExport": true,
"isTypeOnly": false,
"id": {
"type": "Identifier",
"span": {
@ -535,6 +536,7 @@
},
"declare": false,
"isExport": false,
"isTypeOnly": false,
"id": {
"type": "Identifier",
"span": {

View File

@ -42,6 +42,7 @@
},
"declare": false,
"isExport": true,
"isTypeOnly": false,
"id": {
"type": "Identifier",
"span": {
@ -292,6 +293,7 @@
},
"declare": false,
"isExport": true,
"isTypeOnly": false,
"id": {
"type": "Identifier",
"span": {

View File

@ -388,6 +388,7 @@
},
"declare": false,
"isExport": true,
"isTypeOnly": false,
"id": {
"type": "Identifier",
"span": {
@ -1219,6 +1220,7 @@
},
"declare": false,
"isExport": true,
"isTypeOnly": false,
"id": {
"type": "Identifier",
"span": {
@ -1936,6 +1938,7 @@
},
"declare": false,
"isExport": true,
"isTypeOnly": false,
"id": {
"type": "Identifier",
"span": {

View File

@ -189,6 +189,7 @@
},
"declare": false,
"isExport": false,
"isTypeOnly": false,
"id": {
"type": "Identifier",
"span": {
@ -831,6 +832,7 @@
},
"declare": false,
"isExport": false,
"isTypeOnly": false,
"id": {
"type": "Identifier",
"span": {
@ -1497,6 +1499,7 @@
},
"declare": false,
"isExport": false,
"isTypeOnly": false,
"id": {
"type": "Identifier",
"span": {

View File

@ -56,6 +56,7 @@
},
"declare": false,
"isExport": false,
"isTypeOnly": false,
"id": {
"type": "Identifier",
"span": {
@ -159,6 +160,7 @@
},
"declare": false,
"isExport": false,
"isTypeOnly": false,
"id": {
"type": "Identifier",
"span": {
@ -249,6 +251,7 @@
},
"declare": false,
"isExport": false,
"isTypeOnly": false,
"id": {
"type": "Identifier",
"span": {
@ -351,6 +354,7 @@
},
"declare": false,
"isExport": false,
"isTypeOnly": false,
"id": {
"type": "Identifier",
"span": {

View File

@ -373,6 +373,7 @@
},
"declare": false,
"isExport": false,
"isTypeOnly": false,
"id": {
"type": "Identifier",
"span": {
@ -703,6 +704,7 @@
},
"declare": false,
"isExport": false,
"isTypeOnly": false,
"id": {
"type": "Identifier",
"span": {

View File

@ -1992,6 +1992,7 @@
},
"declare": false,
"isExport": false,
"isTypeOnly": false,
"id": {
"type": "Identifier",
"span": {
@ -2679,6 +2680,7 @@
},
"declare": false,
"isExport": false,
"isTypeOnly": false,
"id": {
"type": "Identifier",
"span": {

View File

@ -1286,6 +1286,7 @@
},
"declare": false,
"isExport": false,
"isTypeOnly": false,
"id": {
"type": "Identifier",
"span": {

View File

@ -1729,6 +1729,7 @@
},
"declare": false,
"isExport": false,
"isTypeOnly": false,
"id": {
"type": "Identifier",
"span": {

View File

@ -15,6 +15,7 @@
},
"declare": false,
"isExport": false,
"isTypeOnly": false,
"id": {
"type": "Identifier",
"span": {

View File

@ -15,6 +15,7 @@
},
"declare": false,
"isExport": false,
"isTypeOnly": false,
"id": {
"type": "Identifier",
"span": {

View File

@ -15,6 +15,7 @@
},
"declare": false,
"isExport": false,
"isTypeOnly": false,
"id": {
"type": "Identifier",
"span": {

View File

@ -15,6 +15,7 @@
},
"declare": false,
"isExport": false,
"isTypeOnly": false,
"id": {
"type": "Identifier",
"span": {

View File

@ -15,6 +15,7 @@
},
"declare": false,
"isExport": false,
"isTypeOnly": false,
"id": {
"type": "Identifier",
"span": {

View File

@ -15,6 +15,7 @@
},
"declare": false,
"isExport": false,
"isTypeOnly": false,
"id": {
"type": "Identifier",
"span": {

View File

@ -15,6 +15,7 @@
},
"declare": false,
"isExport": false,
"isTypeOnly": false,
"id": {
"type": "Identifier",
"span": {

View File

@ -15,6 +15,7 @@
},
"declare": false,
"isExport": false,
"isTypeOnly": false,
"id": {
"type": "Identifier",
"span": {

View File

@ -15,6 +15,7 @@
},
"declare": false,
"isExport": false,
"isTypeOnly": false,
"id": {
"type": "Identifier",
"span": {

View File

@ -15,6 +15,7 @@
},
"declare": false,
"isExport": false,
"isTypeOnly": false,
"id": {
"type": "Identifier",
"span": {

View File

@ -15,6 +15,7 @@
},
"declare": false,
"isExport": false,
"isTypeOnly": false,
"id": {
"type": "Identifier",
"span": {

View File

@ -15,6 +15,7 @@
},
"declare": false,
"isExport": false,
"isTypeOnly": false,
"id": {
"type": "Identifier",
"span": {

View File

@ -15,6 +15,7 @@
},
"declare": false,
"isExport": false,
"isTypeOnly": false,
"id": {
"type": "Identifier",
"span": {

View File

@ -15,6 +15,7 @@
},
"declare": false,
"isExport": false,
"isTypeOnly": false,
"id": {
"type": "Identifier",
"span": {

View File

@ -15,6 +15,7 @@
},
"declare": false,
"isExport": false,
"isTypeOnly": false,
"id": {
"type": "Identifier",
"span": {

View File

@ -15,6 +15,7 @@
},
"declare": false,
"isExport": false,
"isTypeOnly": false,
"id": {
"type": "Identifier",
"span": {

Some files were not shown because too many files have changed in this diff Show More