mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-05-30 11:24:49 -05:00
Fix tests
This commit is contained in:
@@ -5,6 +5,6 @@ enum E {
|
||||
b = 1
|
||||
}
|
||||
var x = E;
|
||||
var x: { a: E; b: E;[x: number]: string; }; // Shouldnt error
|
||||
var x: { readonly a: E; readonly b: E; readonly [x: number]: string; }; // Shouldnt error
|
||||
var y = E;
|
||||
var y: { a: E; b: E;[x: number]: string;[x: number]: string } // two errors: the types are not identical and duplicate signatures
|
||||
var y: { readonly a: E; readonly b: E; readonly [x: number]: string; readonly [x: number]: string } // two errors: the types are not identical and duplicate signatures
|
||||
Reference in New Issue
Block a user