mirror of
https://github.com/swc-project/swc.git
synced 2024-12-18 11:11:30 +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} |