mirror of
https://github.com/swc-project/swc.git
synced 2024-11-28 11:13:43 +03:00
21 lines
270 B
TypeScript
21 lines
270 B
TypeScript
// @allowJs: true
|
|
// @checkJs: true
|
|
// @target: es5
|
|
// @outDir: ./out
|
|
// @declaration: true
|
|
// @filename: index1.js
|
|
/**
|
|
* const doc comment
|
|
*/
|
|
const x = (a) => {
|
|
return '';
|
|
};
|
|
|
|
/**
|
|
* function doc comment
|
|
*/
|
|
function b() {
|
|
return 0;
|
|
}
|
|
|
|
module.exports = {x, b} |