11 lines
218 B
Text
11 lines
218 B
Text
=== 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
|
|
|