mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-02-04 12:32:08 -06:00
Fix debug.ts __debugKind check (#50871)
This commit is contained in:
parent
01054e05ab
commit
e383db692e
@ -625,7 +625,7 @@ namespace ts {
|
||||
];
|
||||
|
||||
for (const ctor of nodeConstructors) {
|
||||
if (!hasProperty(ctor, "__debugKind")) {
|
||||
if (!hasProperty(ctor.prototype, "__debugKind")) {
|
||||
Object.defineProperties(ctor.prototype, {
|
||||
// for use with vscode-js-debug's new customDescriptionGenerator in launch.json
|
||||
__tsDebuggerDisplay: {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user