Skip to content

Commit f16538f

Browse files
committed
Updated TypeScript to version with fix for microsoft/TypeScript#492.
1 parent f720718 commit f16538f

File tree

2 files changed

+240
-387
lines changed

2 files changed

+240
-387
lines changed

src/declarations/typescriptServices.d.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2172,6 +2172,8 @@ declare module ts {
21722172
LastKeyword,
21732173
FirstFutureReservedWord,
21742174
LastFutureReservedWord,
2175+
FirstTypeNode,
2176+
LastTypeNode,
21752177
FirstPunctuation,
21762178
LastPunctuation,
21772179
}
@@ -2470,19 +2472,17 @@ declare module ts {
24702472
getTypeCount(): number;
24712473
checkProgram(): void;
24722474
emitFiles(): EmitResult;
2473-
getSymbolOfNode(node: Node): Symbol;
24742475
getParentOfSymbol(symbol: Symbol): Symbol;
24752476
getTypeOfSymbol(symbol: Symbol): Type;
2476-
getDeclaredTypeOfSymbol(symbol: Symbol): Type;
24772477
getPropertiesOfType(type: Type): Symbol[];
24782478
getPropertyOfType(type: Type, propetyName: string): Symbol;
24792479
getSignaturesOfType(type: Type, kind: SignatureKind): Signature[];
24802480
getIndexTypeOfType(type: Type, kind: IndexKind): Type;
24812481
getReturnTypeOfSignature(signature: Signature): Type;
2482-
resolveEntityName(location: Node, name: EntityName, meaning: SymbolFlags): Symbol;
24832482
getSymbolsInScope(location: Node, meaning: SymbolFlags): Symbol[];
24842483
getSymbolInfo(node: Node): Symbol;
2485-
getTypeOfExpression(node: Expression, contextualType?: Type, contextualMapper?: TypeMapper): Type;
2484+
getTypeOfNode(node: Node): Type;
2485+
getApparentType(type: Type): ApparentType;
24862486
typeToString(type: Type, enclosingDeclaration?: Node, flags?: TypeFormatFlags): string;
24872487
symbolToString(symbol: Symbol, enclosingDeclaration?: Node, meaning?: SymbolFlags): string;
24882488
getAugmentedPropertiesOfApparentType(type: Type): Symbol[];
@@ -6687,7 +6687,7 @@ declare module TypeScript.ASTHelpers {
66876687
function getEnclosingModuleDeclaration(ast: ISyntaxElement): ModuleDeclarationSyntax;
66886688
function getModuleDeclarationFromNameAST(ast: ISyntaxElement): ModuleDeclarationSyntax;
66896689
function isLastNameOfModule(ast: ModuleDeclarationSyntax, astName: ISyntaxElement): boolean;
6690-
function getNameOfIdenfierOrQualifiedName(name: ISyntaxElement): string;
6690+
function getNameOfIdentifierOrQualifiedName(name: ISyntaxElement): string;
66916691
function getModuleNames(name: ISyntaxElement, result?: ISyntaxToken[]): ISyntaxToken[];
66926692
}
66936693
declare module TypeScript {

0 commit comments

Comments
 (0)