We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e391439 commit 7c7f9adCopy full SHA for 7c7f9ad
src/compiler/checker.ts
@@ -1243,6 +1243,7 @@ namespace ts {
1243
const parent = errorLocation.parent;
1244
if (symbol) {
1245
if (isQualifiedName(parent)) {
1246
+ Debug.assert(parent.left === errorLocation, "Should only be resolving left side of qualified name as a namespace");
1247
const propName = parent.right.escapedText;
1248
const propType = getPropertyOfType(getDeclaredTypeOfSymbol(symbol), propName);
1249
if (propType) {
0 commit comments