mirror of
https://github.com/swc-project/swc.git
synced 2024-12-01 01:13:56 +03:00
11 lines
218 B
TypeScript
11 lines
218 B
TypeScript
// @allowjs: true
|
|
// @checkjs: true
|
|
// @outdir: out
|
|
// @target: es3,es6
|
|
|
|
// @filename: fileJs.js
|
|
a ? b : (c) : d => e // Not legal JS; "Unexpected token ':'" at last colon
|
|
|
|
// @filename: fileTs.ts
|
|
a ? b : (c) : d => e
|