【发布时间】:2020-07-20 05:04:01
【问题描述】:
目前正在构建一个示例白板项目并面临打字稿问题
var format = (formatString, ...params: any[]): string => {
var i = 0;
while (/%s/.test(formatString)) {
formatString = formatString.replace('%s', arguments[++i]) --> Error at (arguments)
}
return formatString;
};
我检查了堆栈溢出的类似问题,但没有得到具体答案
【问题讨论】:
-
请帮帮我
-
你的
.tsconfiges 目标是什么?
标签: asp.net-mvc typescript arrow-functions