TypeScript/tests/baselines/reference/invalidSymbolInTypeParameter1.js

11 lines
247 B
JavaScript
Raw Normal View History

2014-07-13 01:04:16 +02:00
//// [invalidSymbolInTypeParameter1.ts]
function test() {
var cats = new Array<WAWA>(); // WAWA is not a valid type
}
//// [invalidSymbolInTypeParameter1.js]
function test() {
var cats = new Array(); // WAWA is not a valid type
2014-07-13 01:04:16 +02:00
}