18 lines
300 B
JavaScript
18 lines
300 B
JavaScript
|
//// [genericArrayWithoutTypeAnnotation.ts]
|
||
|
interface IFoo<T>{
|
||
|
}
|
||
|
class Bar {
|
||
|
public getBar(foo: IFoo[]) {
|
||
|
}
|
||
|
}
|
||
|
|
||
|
|
||
|
//// [genericArrayWithoutTypeAnnotation.js]
|
||
|
var Bar = (function () {
|
||
|
function Bar() {
|
||
|
}
|
||
|
Bar.prototype.getBar = function (foo) {
|
||
|
};
|
||
|
return Bar;
|
||
|
})();
|