mirror of
https://github.com/swc-project/swc.git
synced 2024-12-19 03:31:45 +03:00
99f4f0f280
swc_ecma_parser: - Support `private declare`. (#1503) - Recover `backtracking` state while doing some nested backtracking. (#1505) - Allow using `readonly` as the name of class properties. (#1514) swc_ecma_transforms_base: - `hygiene`: Keep the name of class expressions. (#1507) swc_ecma_transforms_typescript: - Allow a namespace and a class to have the same name. (#1515) swc: - Disable `tsx` if the ext of a file is ts.
20 lines
239 B
Plaintext
20 lines
239 B
Plaintext
[
|
|
{
|
|
"test": ".*.ts$",
|
|
"jsc": {
|
|
"parser": {
|
|
"syntax": "typescript"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"test": ".*.tsx$",
|
|
"jsc": {
|
|
"parser": {
|
|
"syntax": "typescript",
|
|
"tsx": true
|
|
}
|
|
}
|
|
}
|
|
]
|