Merge pull request #12543 from wonderful-panda/fix-12536

tsserver: get candidates from <K extends keyof Foo> (fix #12536)
This commit is contained in:
Mohamed Hegazy authored and GitHub committed 2016-12-30 13:23:07 -08:00
commit 6418c2f9bb
4 files changed
+21 -1

No files matched your search

+2 -1
View File
@@ -114,7 +114,8 @@ namespace ts {
// we deliberately exclude augmentations
// since we are only interested in declarations of the module itself
return tryFindAmbientModule(moduleName, /*withAugmentations*/ false);
}
},
getApparentType
};
const tupleTypes: GenericType[] = [];
+1
View File
@@ -2372,6 +2372,7 @@ namespace ts {
getAmbientModules(): Symbol[];
tryGetMemberInModuleExports(memberName: string, moduleSymbol: Symbol): Symbol | undefined;
getApparentType(type: Type): Type;
/* @internal */ tryFindAmbientModuleWithoutAugmentations(moduleName: string): Symbol;