TypeScript-TmLanguage/tests/cases/arrow.ts

9 строки
122 B
TypeScript

var a = async p => {
}
class C {
}
function foo() {
return <T extends C>(a: T) => {
return a;
};
}