12 lines
218 B
Plaintext
12 lines
218 B
Plaintext
=== tests/cases/compiler/castNewObjectBug.ts ===
|
|
interface Foo { }
|
|
>Foo : Foo
|
|
|
|
var xx = <Foo> new Object();
|
|
>xx : Foo
|
|
><Foo> new Object() : Foo
|
|
>Foo : Foo
|
|
>new Object() : Object
|
|
>Object : ObjectConstructor
|
|
|