mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-02-23 01:42:07 -06:00
refactor baseline
This commit is contained in:
parent
66b299dc6e
commit
f70f8eb70d
@ -1,5 +1,5 @@
|
||||
tests/cases/compiler/dynamicNamesErrors.ts(5,5): error TS2718: Duplicate declaration '[c0]'.
|
||||
tests/cases/compiler/dynamicNamesErrors.ts(6,5): error TS2718: Duplicate declaration '[c0]'.
|
||||
tests/cases/compiler/dynamicNamesErrors.ts(5,5): error TS2718: Duplicate property '1'.
|
||||
tests/cases/compiler/dynamicNamesErrors.ts(6,5): error TS2718: Duplicate property '1'.
|
||||
tests/cases/compiler/dynamicNamesErrors.ts(19,5): error TS2717: Subsequent property declarations must have the same type. Property '[c1]' must be of type 'number', but here has type 'string'.
|
||||
tests/cases/compiler/dynamicNamesErrors.ts(24,1): error TS2322: Type 'T2' is not assignable to type 'T1'.
|
||||
Types of property '[c0]' are incompatible.
|
||||
@ -16,10 +16,10 @@ tests/cases/compiler/dynamicNamesErrors.ts(25,1): error TS2322: Type 'T1' is not
|
||||
interface T0 {
|
||||
[c0]: number;
|
||||
~~~~
|
||||
!!! error TS2718: Duplicate declaration '[c0]'.
|
||||
!!! error TS2718: Duplicate property '1'.
|
||||
1: number;
|
||||
~
|
||||
!!! error TS2718: Duplicate declaration '[c0]'.
|
||||
!!! error TS2718: Duplicate property '1'.
|
||||
}
|
||||
|
||||
interface T1 {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user