10 lines
247 B
TypeScript
10 lines
247 B
TypeScript
//// [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
|
|
}
|