File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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.
Original file line number Diff line number Diff 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.
Load Diff Large diffs are not rendered by default.
Load Diff Large diffs are not rendered by default.
Original file line number Diff line number Diff 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 ;
Load Diff Large diffs are not rendered by default.
Original file line number Diff line number Diff 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 ;
Load Diff Large diffs are not rendered by default.
You can’t perform that action at this time.
0 commit comments