Skip to content

Commit a962176

Browse files
committed
Update LKG
1 parent 256e085 commit a962176

9 files changed

+1405
-1146
lines changed

lib/tsc.js

+237-194
Large diffs are not rendered by default.

lib/tsserver.js

+258-211
Large diffs are not rendered by default.

lib/tsserverlibrary.d.ts

+51-19
Original file line numberDiff line numberDiff line change
@@ -1230,26 +1230,20 @@ declare namespace ts {
12301230
HasImplicitReturn = 128,
12311231
HasExplicitReturn = 256,
12321232
GlobalAugmentation = 512,
1233-
HasClassExtends = 1024,
1234-
HasDecorators = 2048,
1235-
HasParamDecorators = 4096,
1236-
HasAsyncFunctions = 8192,
1237-
HasSpreadAttribute = 16384,
1238-
HasRestAttribute = 32768,
1239-
DisallowInContext = 65536,
1240-
YieldContext = 131072,
1241-
DecoratorContext = 262144,
1242-
AwaitContext = 524288,
1243-
ThisNodeHasError = 1048576,
1244-
JavaScriptFile = 2097152,
1245-
ThisNodeOrAnySubNodesHasError = 4194304,
1246-
HasAggregatedChildData = 8388608,
1233+
HasAsyncFunctions = 1024,
1234+
DisallowInContext = 2048,
1235+
YieldContext = 4096,
1236+
DecoratorContext = 8192,
1237+
AwaitContext = 16384,
1238+
ThisNodeHasError = 32768,
1239+
JavaScriptFile = 65536,
1240+
ThisNodeOrAnySubNodesHasError = 131072,
1241+
HasAggregatedChildData = 262144,
12471242
BlockScoped = 3,
12481243
ReachabilityCheckFlags = 384,
1249-
EmitHelperFlags = 64512,
1250-
ReachabilityAndEmitFlags = 64896,
1251-
ContextFlags = 3080192,
1252-
TypeExcludesFlags = 655360,
1244+
ReachabilityAndEmitFlags = 1408,
1245+
ContextFlags = 96256,
1246+
TypeExcludesFlags = 20480,
12531247
}
12541248
const enum ModifierFlags {
12551249
None = 0,
@@ -3491,6 +3485,18 @@ declare namespace ts {
34913485
readonly text: string;
34923486
readonly priority?: number;
34933487
}
3488+
const enum ExternalEmitHelpers {
3489+
Extends = 1,
3490+
Assign = 2,
3491+
Rest = 4,
3492+
Decorate = 8,
3493+
Metadata = 16,
3494+
Param = 32,
3495+
Awaiter = 64,
3496+
Generator = 128,
3497+
FirstEmitHelper = 1,
3498+
LastEmitHelper = 128,
3499+
}
34943500
const enum EmitContext {
34953501
SourceFile = 0,
34963502
Expression = 1,
@@ -3563,7 +3569,7 @@ declare namespace ts.performance {
35633569
function disable(): void;
35643570
}
35653571
declare namespace ts {
3566-
const version = "2.1.3";
3572+
const version = "2.1.4";
35673573
}
35683574
declare namespace ts {
35693575
const enum Ternary {
@@ -5358,6 +5364,12 @@ declare namespace ts {
53585364
key: string;
53595365
message: string;
53605366
};
5367+
This_syntax_requires_an_imported_helper_named_1_but_module_0_has_no_exported_member_1: {
5368+
code: number;
5369+
category: DiagnosticCategory;
5370+
key: string;
5371+
message: string;
5372+
};
53615373
Type_0_does_not_satisfy_the_constraint_1: {
53625374
code: number;
53635375
category: DiagnosticCategory;
@@ -5418,6 +5430,12 @@ declare namespace ts {
54185430
key: string;
54195431
message: string;
54205432
};
5433+
This_syntax_requires_an_imported_helper_but_module_0_cannot_be_found: {
5434+
code: number;
5435+
category: DiagnosticCategory;
5436+
key: string;
5437+
message: string;
5438+
};
54215439
A_function_whose_declared_type_is_neither_void_nor_any_must_return_a_value: {
54225440
code: number;
54235441
category: DiagnosticCategory;
@@ -7254,6 +7272,18 @@ declare namespace ts {
72547272
key: string;
72557273
message: string;
72567274
};
7275+
Parameter_0_of_index_signature_from_exported_interface_has_or_is_using_name_1_from_private_module_2: {
7276+
code: number;
7277+
category: DiagnosticCategory;
7278+
key: string;
7279+
message: string;
7280+
};
7281+
Parameter_0_of_index_signature_from_exported_interface_has_or_is_using_private_name_1: {
7282+
code: number;
7283+
category: DiagnosticCategory;
7284+
key: string;
7285+
message: string;
7286+
};
72577287
The_current_host_does_not_support_the_0_option: {
72587288
code: number;
72597289
category: DiagnosticCategory;
@@ -8913,6 +8943,7 @@ declare namespace ts {
89138943
function isBlockScopedContainerTopLevel(node: Node): boolean;
89148944
function isGlobalScopeAugmentation(module: ModuleDeclaration): boolean;
89158945
function isExternalModuleAugmentation(node: Node): boolean;
8946+
function isEffectiveExternalModule(node: SourceFile, compilerOptions: CompilerOptions): boolean;
89168947
function isBlockScope(node: Node, parentNode: Node): boolean;
89178948
function getEnclosingBlockScopeContainer(node: Node): Node;
89188949
function declarationNameToString(name: DeclarationName): string;
@@ -11106,6 +11137,7 @@ declare namespace ts.server {
1110611137
isJsOnlyProject(): boolean;
1110711138
getCachedUnresolvedImportsPerFile_TestOnly(): UnresolvedImportsMap;
1110811139
constructor(projectName: string, projectKind: ProjectKind, projectService: ProjectService, documentRegistry: ts.DocumentRegistry, hasExplicitListOfFiles: boolean, languageServiceEnabled: boolean, compilerOptions: CompilerOptions, compileOnSaveEnabled: boolean);
11140+
private setInternalCompilerOptionsForEmittingJsFiles();
1110911141
getProjectErrors(): Diagnostic[];
1111011142
getLanguageService(ensureSynchronized?: boolean): LanguageService;
1111111143
getCompileOnSaveAffectedFileList(scriptInfo: ScriptInfo): string[];

0 commit comments

Comments
 (0)