mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
10 lines
201 B
TypeScript
10 lines
201 B
TypeScript
//// [tests/cases/compiler/castNewObjectBug.ts] ////
|
|
|
|
//// [castNewObjectBug.ts]
|
|
interface Foo { }
|
|
var xx = <Foo> new Object();
|
|
|
|
//// [castNewObjectBug.js]
|
|
"use strict";
|
|
var xx = new Object();
|