Skip to content

Commit cfff309

Browse files
committed
Updated LKG
1 parent e76f920 commit cfff309

File tree

8 files changed

+795
-399
lines changed

8 files changed

+795
-399
lines changed

bin/lib.core.es6.d.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4766,6 +4766,7 @@ interface PromiseLike<T> {
47664766
* @returns A Promise for the completion of which ever callback is executed.
47674767
*/
47684768
then<TResult>(onfulfilled?: (value: T) => TResult | PromiseLike<TResult>, onrejected?: (reason: any) => TResult | PromiseLike<TResult>): PromiseLike<TResult>;
4769+
then<TResult>(onfulfilled?: (value: T) => TResult | PromiseLike<TResult>, onrejected?: (reason: any) => void): PromiseLike<TResult>;
47694770
}
47704771

47714772
/**
@@ -4779,6 +4780,7 @@ interface Promise<T> {
47794780
* @returns A Promise for the completion of which ever callback is executed.
47804781
*/
47814782
then<TResult>(onfulfilled?: (value: T) => TResult | PromiseLike<TResult>, onrejected?: (reason: any) => TResult | PromiseLike<TResult>): Promise<TResult>;
4783+
then<TResult>(onfulfilled?: (value: T) => TResult | PromiseLike<TResult>, onrejected?: (reason: any) => void): Promise<TResult>;
47824784

47834785
/**
47844786
* Attaches a callback for only the rejection of the Promise.

bin/lib.es6.d.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4766,6 +4766,7 @@ interface PromiseLike<T> {
47664766
* @returns A Promise for the completion of which ever callback is executed.
47674767
*/
47684768
then<TResult>(onfulfilled?: (value: T) => TResult | PromiseLike<TResult>, onrejected?: (reason: any) => TResult | PromiseLike<TResult>): PromiseLike<TResult>;
4769+
then<TResult>(onfulfilled?: (value: T) => TResult | PromiseLike<TResult>, onrejected?: (reason: any) => void): PromiseLike<TResult>;
47694770
}
47704771

47714772
/**
@@ -4779,6 +4780,7 @@ interface Promise<T> {
47794780
* @returns A Promise for the completion of which ever callback is executed.
47804781
*/
47814782
then<TResult>(onfulfilled?: (value: T) => TResult | PromiseLike<TResult>, onrejected?: (reason: any) => TResult | PromiseLike<TResult>): Promise<TResult>;
4783+
then<TResult>(onfulfilled?: (value: T) => TResult | PromiseLike<TResult>, onrejected?: (reason: any) => void): Promise<TResult>;
47824784

47834785
/**
47844786
* Attaches a callback for only the rejection of the Promise.

bin/tsc.js

Lines changed: 133 additions & 75 deletions
Large diffs are not rendered by default.

bin/tsserver.js

Lines changed: 188 additions & 102 deletions
Large diffs are not rendered by default.

bin/typescript.d.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1114,7 +1114,7 @@ declare module "typescript" {
11141114
target?: ScriptTarget;
11151115
version?: boolean;
11161116
watch?: boolean;
1117-
separateCompilation?: boolean;
1117+
isolatedModules?: boolean;
11181118
emitDecoratorMetadata?: boolean;
11191119
[option: string]: string | number | boolean;
11201120
}
@@ -1379,6 +1379,7 @@ declare module "typescript" {
13791379
interface LanguageServiceHost {
13801380
getCompilationSettings(): CompilerOptions;
13811381
getNewLine?(): string;
1382+
getProjectVersion?(): string;
13821383
getScriptFileNames(): string[];
13831384
getScriptVersion(fileName: string): string;
13841385
getScriptSnapshot(fileName: string): IScriptSnapshot;

bin/typescript.js

Lines changed: 233 additions & 110 deletions
Large diffs are not rendered by default.

bin/typescriptServices.d.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1114,7 +1114,7 @@ declare module ts {
11141114
target?: ScriptTarget;
11151115
version?: boolean;
11161116
watch?: boolean;
1117-
separateCompilation?: boolean;
1117+
isolatedModules?: boolean;
11181118
emitDecoratorMetadata?: boolean;
11191119
[option: string]: string | number | boolean;
11201120
}
@@ -1379,6 +1379,7 @@ declare module ts {
13791379
interface LanguageServiceHost {
13801380
getCompilationSettings(): CompilerOptions;
13811381
getNewLine?(): string;
1382+
getProjectVersion?(): string;
13821383
getScriptFileNames(): string[];
13831384
getScriptVersion(fileName: string): string;
13841385
getScriptSnapshot(fileName: string): IScriptSnapshot;

bin/typescriptServices.js

Lines changed: 233 additions & 110 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)