mirror of
https://github.com/swc-project/swc.git
synced 2024-12-24 14:16:12 +03:00
51d0cef287
swc_ecma_ast: - Support TypeScript 4.3. (#1517) swc_ecma_parser: - Support new syntaxes from typescript 4.3. (#1517) swc_ecma_transforms_compat: - Fix '\\`' in template literals. (#1488) - `classes`: Fix super calls. (#1490) swc_ecma_transforms_module: - Respect `esModuleInterop` for dynamic imports. (#1480) swc_ecma_transforms_typescript: - `strip`: Remove `declare`-d namespaces. (#1508)
25 lines
427 B
Plaintext
25 lines
427 B
Plaintext
{
|
|
"test": ".*.ts$",
|
|
"jsc": {
|
|
"loose": true,
|
|
"target": "es2018",
|
|
"parser": {
|
|
"syntax": "typescript",
|
|
"tsx": false,
|
|
"decorators": true,
|
|
"dynamicImport": true
|
|
},
|
|
"transform": {
|
|
"legacyDecorator": true,
|
|
"decoratorMetadata": true
|
|
}
|
|
},
|
|
"module": {
|
|
"type": "commonjs",
|
|
"strict": true,
|
|
"strictMode": false,
|
|
"lazy": false,
|
|
"noInterop": false
|
|
}
|
|
}
|