mirror of
https://github.com/swc-project/swc.git
synced 2024-12-23 05:32:09 +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;
|