TypeScript/tests/baselines/reference/genericArrayWithoutTypeAnnotation.js

18 lines
300 B
TypeScript
Raw Normal View History

2014-07-13 01:04:16 +02:00
//// [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;
})();