mirror of
https://github.com/microsoft/TypeScript.git
synced 2025-11-18 17:21:48 +00:00
Fix debug.ts __debugKind check (#50871)
This commit is contained in:
1 parent
01054e05ab
commit
e383db692e
1 file changed
+1
-1
@@ -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: {
|
||||
|
||||
Reference in new issue
Block a user