* Better support class instances assigned to the module object for JS declarations * Extract constant
12 lines
207 B
TypeScript
12 lines
207 B
TypeScript
// @allowJs: true
|
|
// @checkJs: true
|
|
// @target: es5
|
|
// @outDir: ./out
|
|
// @declaration: true
|
|
// @filename: index.js
|
|
class Foo {
|
|
static stat = 10;
|
|
member = 10;
|
|
}
|
|
|
|
module.exports = new Foo(); |