2014-07-13 01:04:16 +02:00
|
|
|
//// [missingTypeArguments2.ts]
|
|
|
|
class A<T> { }
|
|
|
|
|
|
|
|
var x: () => A;
|
|
|
|
(a: A) => { };
|
|
|
|
var y: A<A>;
|
|
|
|
(): A => null;
|
|
|
|
|
|
|
|
//// [missingTypeArguments2.js]
|
|
|
|
var A = (function () {
|
|
|
|
function A() {
|
|
|
|
}
|
|
|
|
return A;
|
|
|
|
})();
|
|
|
|
var x;
|
2015-02-07 03:45:09 +01:00
|
|
|
(function (a) { });
|
2014-07-13 01:04:16 +02:00
|
|
|
var y;
|
|
|
|
(function () { return null; });
|