mirror of
https://github.com/swc-project/swc.git
synced 2024-12-18 19:21:33 +03:00
**Description:** This is required for https://github.com/swc-project/swc/pull/6981 and https://github.com/swc-project/swc/pull/6950
11 lines
232 B
TypeScript
11 lines
232 B
TypeScript
// @allowjs: true
|
|
// @checkjs: true
|
|
// @outdir: out
|
|
// @target: es3,es6
|
|
|
|
// @filename: fileJs.js
|
|
a ? (b) : c => (d) : e => f // Not legal JS; "Unexpected token ':'" at last colon
|
|
|
|
// @filename: fileTs.ts
|
|
a ? (b) : c => (d) : e => f
|