Skip to content

Commit 4c1e416

Browse files
committed
Accept new baselines
1 parent 61b9da5 commit 4c1e416

File tree

3 files changed

+0
-12
lines changed

3 files changed

+0
-12
lines changed

tests/baselines/reference/promisePermutations.errors.txt

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,6 @@ tests/cases/compiler/promisePermutations.ts(106,19): error TS2345: Argument of t
2525
Types of parameters 'cb' and 'value' are incompatible.
2626
Type 'string' is not assignable to type '<T>(a: T) => T'.
2727
tests/cases/compiler/promisePermutations.ts(109,19): error TS2345: Argument of type '(cb: <T>(a: T) => T) => IPromise<string>' is not assignable to parameter of type '(value: string) => IPromise<string>'.
28-
Types of parameters 'cb' and 'value' are incompatible.
29-
Type 'string' is not assignable to type '<T>(a: T) => T'.
3028
tests/cases/compiler/promisePermutations.ts(110,19): error TS2345: Argument of type '(cb: <T>(a: T) => T) => Promise<string>' is not assignable to parameter of type '(value: string) => Promise<string>'.
3129
Types of parameters 'cb' and 'value' are incompatible.
3230
Type 'string' is not assignable to type '<T>(a: T) => T'.
@@ -229,8 +227,6 @@ tests/cases/compiler/promisePermutations.ts(160,21): error TS2345: Argument of t
229227
var s7a = r7.then(testFunction7, testFunction7, testFunction7); // error
230228
~~~~~~~~~~~~~
231229
!!! error TS2345: Argument of type '(cb: <T>(a: T) => T) => IPromise<string>' is not assignable to parameter of type '(value: string) => IPromise<string>'.
232-
!!! error TS2345: Types of parameters 'cb' and 'value' are incompatible.
233-
!!! error TS2345: Type 'string' is not assignable to type '<T>(a: T) => T'.
234230
var s7b = r7.then(testFunction7P, testFunction7P, testFunction7P); // error
235231
~~~~~~~~~~~~~~
236232
!!! error TS2345: Argument of type '(cb: <T>(a: T) => T) => Promise<string>' is not assignable to parameter of type '(value: string) => Promise<string>'.

tests/baselines/reference/promisePermutations2.errors.txt

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,6 @@ tests/cases/compiler/promisePermutations2.ts(105,19): error TS2345: Argument of
2525
Types of parameters 'cb' and 'value' are incompatible.
2626
Type 'string' is not assignable to type '<T>(a: T) => T'.
2727
tests/cases/compiler/promisePermutations2.ts(108,19): error TS2345: Argument of type '(cb: <T>(a: T) => T) => IPromise<string>' is not assignable to parameter of type '(value: string) => IPromise<string>'.
28-
Types of parameters 'cb' and 'value' are incompatible.
29-
Type 'string' is not assignable to type '<T>(a: T) => T'.
3028
tests/cases/compiler/promisePermutations2.ts(109,19): error TS2345: Argument of type '(cb: <T>(a: T) => T) => Promise<string>' is not assignable to parameter of type '(value: string) => Promise<string>'.
3129
Types of parameters 'cb' and 'value' are incompatible.
3230
Type 'string' is not assignable to type '<T>(a: T) => T'.
@@ -228,8 +226,6 @@ tests/cases/compiler/promisePermutations2.ts(159,21): error TS2345: Argument of
228226
var s7a = r7.then(testFunction7, testFunction7, testFunction7); // error
229227
~~~~~~~~~~~~~
230228
!!! error TS2345: Argument of type '(cb: <T>(a: T) => T) => IPromise<string>' is not assignable to parameter of type '(value: string) => IPromise<string>'.
231-
!!! error TS2345: Types of parameters 'cb' and 'value' are incompatible.
232-
!!! error TS2345: Type 'string' is not assignable to type '<T>(a: T) => T'.
233229
var s7b = r7.then(testFunction7P, testFunction7P, testFunction7P); // error
234230
~~~~~~~~~~~~~~
235231
!!! error TS2345: Argument of type '(cb: <T>(a: T) => T) => Promise<string>' is not assignable to parameter of type '(value: string) => Promise<string>'.

tests/baselines/reference/promisePermutations3.errors.txt

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,6 @@ tests/cases/compiler/promisePermutations3.ts(105,19): error TS2345: Argument of
2828
Types of parameters 'cb' and 'value' are incompatible.
2929
Type 'string' is not assignable to type '<T>(a: T) => T'.
3030
tests/cases/compiler/promisePermutations3.ts(108,19): error TS2345: Argument of type '(cb: <T>(a: T) => T) => IPromise<string>' is not assignable to parameter of type '(value: string) => IPromise<string>'.
31-
Types of parameters 'cb' and 'value' are incompatible.
32-
Type 'string' is not assignable to type '<T>(a: T) => T'.
3331
tests/cases/compiler/promisePermutations3.ts(109,19): error TS2345: Argument of type '(cb: <T>(a: T) => T) => Promise<string>' is not assignable to parameter of type '(value: string) => Promise<string>'.
3432
Types of parameters 'cb' and 'value' are incompatible.
3533
Type 'string' is not assignable to type '<T>(a: T) => T'.
@@ -240,8 +238,6 @@ tests/cases/compiler/promisePermutations3.ts(165,21): error TS2345: Argument of
240238
var s7a = r7.then(testFunction7, testFunction7, testFunction7); // error
241239
~~~~~~~~~~~~~
242240
!!! error TS2345: Argument of type '(cb: <T>(a: T) => T) => IPromise<string>' is not assignable to parameter of type '(value: string) => IPromise<string>'.
243-
!!! error TS2345: Types of parameters 'cb' and 'value' are incompatible.
244-
!!! error TS2345: Type 'string' is not assignable to type '<T>(a: T) => T'.
245241
var s7b = r7.then(testFunction7P, testFunction7P, testFunction7P); // error
246242
~~~~~~~~~~~~~~
247243
!!! error TS2345: Argument of type '(cb: <T>(a: T) => T) => Promise<string>' is not assignable to parameter of type '(value: string) => Promise<string>'.

0 commit comments

Comments
 (0)