@@ -1888,7 +1888,7 @@ namespace ts {
1888
1888
1889
1889
options . isolatedModules = true ;
1890
1890
1891
- // transpileModule does not write anything to disk so there is no need to verify that there are no conflicts between input and output paths.
1891
+ // transpileModule does not write anything to disk so there is no need to verify that there are no conflicts between input and output paths.
1892
1892
options . suppressOutputPathCheck = true ;
1893
1893
1894
1894
// Filename can be non-ts file.
@@ -5672,7 +5672,7 @@ namespace ts {
5672
5672
declaration => ( declaration . kind === SyntaxKind . ImportSpecifier ||
5673
5673
declaration . kind === SyntaxKind . ExportSpecifier ) ? declaration : undefined ) ;
5674
5674
if ( importOrExportSpecifier &&
5675
- // export { a }
5675
+ // export { a }
5676
5676
( ! importOrExportSpecifier . propertyName ||
5677
5677
// export {a as class } where a is location
5678
5678
importOrExportSpecifier . propertyName === location ) ) {
@@ -5752,7 +5752,7 @@ namespace ts {
5752
5752
return undefined ;
5753
5753
}
5754
5754
5755
- // If symbol is of object binding pattern element without property name we would want to
5755
+ // If symbol is of object binding pattern element without property name we would want to
5756
5756
// look for property too and that could be anywhere
5757
5757
if ( isObjectBindingPatternElementWithoutPropertyName ( symbol ) ) {
5758
5758
return undefined ;
@@ -6213,7 +6213,7 @@ namespace ts {
6213
6213
result = result . concat ( typeChecker . getSymbolsOfParameterPropertyDeclaration ( < ParameterDeclaration > symbol . valueDeclaration , symbol . name ) ) ;
6214
6214
}
6215
6215
6216
- // If this is symbol of binding element without propertyName declaration in Object binding pattern
6216
+ // If this is symbol of binding element without propertyName declaration in Object binding pattern
6217
6217
// Include the property in the search
6218
6218
const bindingElementPropertySymbol = getPropertySymbolOfObjectBindingPatternWithoutPropertyName ( symbol ) ;
6219
6219
if ( bindingElementPropertySymbol ) {
@@ -6267,7 +6267,7 @@ namespace ts {
6267
6267
6268
6268
if ( symbol . flags & ( SymbolFlags . Class | SymbolFlags . Interface ) ) {
6269
6269
forEach ( symbol . getDeclarations ( ) , declaration => {
6270
- if ( declaration . kind === SyntaxKind . ClassDeclaration ) {
6270
+ if ( isClassLike ( declaration ) ) {
6271
6271
getPropertySymbolFromTypeReference ( getClassExtendsHeritageClauseElement ( < ClassDeclaration > declaration ) ) ;
6272
6272
forEach ( getClassImplementsHeritageClauseElements ( < ClassDeclaration > declaration ) , getPropertySymbolFromTypeReference ) ;
6273
6273
}
@@ -6329,7 +6329,7 @@ namespace ts {
6329
6329
}
6330
6330
}
6331
6331
6332
- // If the reference location is the binding element and doesn't have property name
6332
+ // If the reference location is the binding element and doesn't have property name
6333
6333
// then include the binding element in the related symbols
6334
6334
// let { a } : { a };
6335
6335
const bindingElementPropertySymbol = getPropertySymbolOfObjectBindingPatternWithoutPropertyName ( referenceSymbol ) ;
0 commit comments