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

29 lines
487 B
TypeScript
Raw Normal View History

// @allowJs: true
// @checkJs: true
// @target: es5
// @outDir: ./out
// @declaration: true
// @filename: source.js
class Handler {
static get OPTIONS() {
return 1;
}
process() {
}
}
Handler.statische = function() { }
const Strings = {
a: "A",
b: "B"
}
module.exports = Handler;
module.exports.Strings = Strings
/**
* @typedef {Object} HandlerOptions
* @property {String} name
* Should be able to export a type alias at the same time.
*/