Skip to content

Commit 8d6dd18

Browse files
Merge pull request #3182 from Microsoft/LKG2
Update LKG
2 parents 68a4dee + 8af0cbc commit 8d6dd18

8 files changed

+896
-513
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: 163 additions & 102 deletions
Large diffs are not rendered by default.

bin/tsserver.js

Lines changed: 205 additions & 129 deletions
Large diffs are not rendered by default.

bin/typescript.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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: 261 additions & 141 deletions
Large diffs are not rendered by default.

bin/typescriptServices.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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: 261 additions & 141 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)