File tree Expand file tree Collapse file tree 8 files changed +795
-399
lines changed Expand file tree Collapse file tree 8 files changed +795
-399
lines changed Original file line number Diff line number Diff line change @@ -4766,6 +4766,7 @@ interface PromiseLike<T> {
4766
4766
* @returns A Promise for the completion of which ever callback is executed.
4767
4767
*/
4768
4768
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 > ;
4769
4770
}
4770
4771
4771
4772
/**
@@ -4779,6 +4780,7 @@ interface Promise<T> {
4779
4780
* @returns A Promise for the completion of which ever callback is executed.
4780
4781
*/
4781
4782
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 > ;
4782
4784
4783
4785
/**
4784
4786
* 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> {
4766
4766
* @returns A Promise for the completion of which ever callback is executed.
4767
4767
*/
4768
4768
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>;
4769
4770
}
4770
4771
4771
4772
/**
@@ -4779,6 +4780,7 @@ interface Promise<T> {
4779
4780
* @returns A Promise for the completion of which ever callback is executed.
4780
4781
*/
4781
4782
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>;
4782
4784
4783
4785
/**
4784
4786
* 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" {
1114
1114
target ?: ScriptTarget ;
1115
1115
version ?: boolean ;
1116
1116
watch ?: boolean ;
1117
- separateCompilation ?: boolean ;
1117
+ isolatedModules ?: boolean ;
1118
1118
emitDecoratorMetadata ?: boolean ;
1119
1119
[ option : string ] : string | number | boolean ;
1120
1120
}
@@ -1379,6 +1379,7 @@ declare module "typescript" {
1379
1379
interface LanguageServiceHost {
1380
1380
getCompilationSettings ( ) : CompilerOptions ;
1381
1381
getNewLine ?( ) : string ;
1382
+ getProjectVersion ?( ) : string ;
1382
1383
getScriptFileNames ( ) : string [ ] ;
1383
1384
getScriptVersion ( fileName : string ) : string ;
1384
1385
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 {
1114
1114
target ?: ScriptTarget ;
1115
1115
version ?: boolean ;
1116
1116
watch ?: boolean ;
1117
- separateCompilation ?: boolean ;
1117
+ isolatedModules ?: boolean ;
1118
1118
emitDecoratorMetadata ?: boolean ;
1119
1119
[ option : string ] : string | number | boolean ;
1120
1120
}
@@ -1379,6 +1379,7 @@ declare module ts {
1379
1379
interface LanguageServiceHost {
1380
1380
getCompilationSettings ( ) : CompilerOptions ;
1381
1381
getNewLine ?( ) : string ;
1382
+ getProjectVersion ?( ) : string ;
1382
1383
getScriptFileNames ( ) : string [ ] ;
1383
1384
getScriptVersion ( fileName : string ) : string ;
1384
1385
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