TypeScript/tests/cases/conformance/jsdoc/jsdocPrototypePropertyAccessWithType.ts
Andy e8e80d2bbd
Don't crash on property access with type (#25170)
* Don't crash on property access with type

* Move test
2018-06-25 11:25:52 -07:00

10 lines
156 B
TypeScript

// @allowJs: true
// @checkJs: true
// @noEmit: true
// @Filename: /a.js
function C() { this.x = false; };
/** @type {number} */
C.prototype.x;
new C().x;