//// [noConstraintInReturnType1.ts] class List { static empty(): List { return null; } } //// [noConstraintInReturnType1.js] var List = (function () { function List() { } List.empty = function () { return null; }; return List; })(); //// [noConstraintInReturnType1.d.ts] declare class List { static empty(): List; }