11 lines
195 B
JavaScript
11 lines
195 B
JavaScript
//// [typeParameterAsElementType.ts]
|
|
function fee<T>() {
|
|
var t: T;
|
|
var arr = [t, ""];
|
|
}
|
|
|
|
//// [typeParameterAsElementType.js]
|
|
function fee() {
|
|
var t;
|
|
var arr = [t, ""];
|
|
}
|