mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-02-08 18:11:45 -06:00
Accepting new baselines after merge.
This commit is contained in:
parent
0cf503fd9f
commit
c0e802deb5
@ -62,18 +62,16 @@
|
||||
a = a1; // Error
|
||||
~
|
||||
!!! Type '[number, string]' is not assignable to type 'number[]':
|
||||
!!! Types of property 'concat' are incompatible:
|
||||
!!! Type '{ <U extends {}[]>(...items: U[]): {}[]; (...items: {}[]): {}[]; }' is not assignable to type '{ <U extends number[]>(...items: U[]): number[]; (...items: number[]): number[]; }':
|
||||
!!! Type '{}[]' is not assignable to type 'number[]':
|
||||
!!! Type '{}' is not assignable to type 'number'.
|
||||
!!! Types of property 'pop' are incompatible:
|
||||
!!! Type '() => {}' is not assignable to type '() => number':
|
||||
!!! Type '{}' is not assignable to type 'number'.
|
||||
a = a2;
|
||||
a = a3; // Error
|
||||
~
|
||||
!!! Type '[number, {}]' is not assignable to type 'number[]':
|
||||
!!! Types of property 'concat' are incompatible:
|
||||
!!! Type '{ <U extends {}[]>(...items: U[]): {}[]; (...items: {}[]): {}[]; }' is not assignable to type '{ <U extends number[]>(...items: U[]): number[]; (...items: number[]): number[]; }':
|
||||
!!! Type '{}[]' is not assignable to type 'number[]':
|
||||
!!! Type '{}' is not assignable to type 'number'.
|
||||
!!! Types of property 'pop' are incompatible:
|
||||
!!! Type '() => {}' is not assignable to type '() => number':
|
||||
!!! Type '{}' is not assignable to type 'number'.
|
||||
a1 = a2; // Error
|
||||
~~
|
||||
!!! Type '[number, number]' is not assignable to type '[number, string]':
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user