* Ensure functions that have prototype properties assigned by Object.defineProperty get marked as classes * Revert unneeded change
15 lines
200 B
TypeScript
15 lines
200 B
TypeScript
// @allowJs: true
|
|
// @checkJs: false
|
|
// @noEmit: true
|
|
// @Filename: /a.js
|
|
|
|
function Graphic() {
|
|
}
|
|
|
|
Object.defineProperty(Graphic.prototype, "instance", {
|
|
get: function() {
|
|
return this;
|
|
}
|
|
});
|
|
|