1cbe7ef000
* Fix crash in JS decl emit * Emit as class with private ctor
10 lines
214 B
TypeScript
10 lines
214 B
TypeScript
// @allowJs: true
|
|
// @checkJs: true
|
|
// @target: es5
|
|
// @outDir: ./out
|
|
// @declaration: true
|
|
// @filename: index.js
|
|
// https://github.com/microsoft/TypeScript/issues/35801
|
|
let A;
|
|
A = {};
|
|
A.prototype.b = {}; |