mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-11-18 20:11:14 +00:00
Update test
This commit is contained in:
1 parent
9e7cdb4df5
commit
1f1af2735e
1 file changed
+10
-1
@@ -23,8 +23,17 @@ enum E10 {
|
||||
|
||||
// Enum with computed member intializer of other types
|
||||
enum E11 {
|
||||
A = '',
|
||||
A = true,
|
||||
B = new Date(),
|
||||
C = window,
|
||||
D = {}
|
||||
}
|
||||
|
||||
// Enum with string valued member and computed member initializers
|
||||
enum E12 {
|
||||
A = '',
|
||||
B = new Date(),
|
||||
C = window,
|
||||
D = {},
|
||||
E = 1 + 1,
|
||||
}
|
||||
Reference in new issue
Block a user