【发布时间】:2019-04-18 05:51:52
【问题描述】:
代码:
const f: any = function(...args: any[]) {
const a = this;
};
错误:
semantic error TS2683 'this' implicitly has type 'any' because it does not have a type annotation.
【问题讨论】:
-
@ritaj 这不在箭头函数中...
标签: typescript typescript-decorator