TypeScript/tests/baselines/reference/invalidSymbolInTypeParameter1.js

11 lines
247 B
JavaScript

//// [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
}