TypeScript/tests/cases/conformance/jsdoc/declarations/jsDeclarationsDocCommentsOnConsts.ts

21 lines
290 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}