mirror of
https://github.com/swc-project/swc.git
synced 2024-11-28 02:29:04 +03:00
16 lines
264 B
TypeScript
16 lines
264 B
TypeScript
// @allowJs: true
|
|
// @checkJs: true
|
|
// @target: es5
|
|
// @outDir: ./out
|
|
// @declaration: true
|
|
// @filename: source.js
|
|
function foo() {}
|
|
foo.null = true;
|
|
|
|
function bar() {}
|
|
bar.async = true;
|
|
bar.normal = false;
|
|
|
|
function baz() {}
|
|
baz.class = true;
|
|
baz.normal = false; |