mirror of
https://github.com/swc-project/swc.git
synced 2024-12-18 11:11:30 +03:00
11 lines
242 B
TypeScript
11 lines
242 B
TypeScript
// @allowjs: true
|
|
// @checkjs: true
|
|
// @outdir: out
|
|
// @target: es3,es6
|
|
|
|
// @filename: fileJs.js
|
|
a ? () => a() : (): any => null; // Not legal JS; "Unexpected token ')'" at last paren
|
|
|
|
// @filename: fileTs.ts
|
|
a ? () => a() : (): any => null;
|