mirror of
https://github.com/swc-project/swc.git
synced 2024-12-19 11:42:13 +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; |