19 lines
445 B
TypeScript
19 lines
445 B
TypeScript
|
// @allowJs: true
|
||
|
// @checkJs: true
|
||
|
// @target: es5
|
||
|
// @outDir: ./out
|
||
|
// @declaration: true
|
||
|
// @filename: source.js
|
||
|
module.exports = MyClass;
|
||
|
|
||
|
function MyClass() {}
|
||
|
MyClass.staticMethod = function() {}
|
||
|
MyClass.prototype.method = function() {}
|
||
|
MyClass.staticProperty = 123;
|
||
|
|
||
|
/**
|
||
|
* Callback to be invoked when test execution is complete.
|
||
|
*
|
||
|
* @callback DoneCB
|
||
|
* @param {number} failures - Number of failures that occurred.
|
||
|
*/
|