未验证 提交 d901df3f 编写于 作者: J João Moreno 提交者: GitHub

any -> string

上级 ab1d686a
......@@ -1433,7 +1433,7 @@ export class CommandCenter {
.replace(/^error: /mi, '')
.replace(/^> husky.*$/mi, '')
.split(/[\r\n]/)
.filter((line: any) => !!line)
.filter((line: string) => !!line)
[0];
message = hint
......@@ -1523,4 +1523,4 @@ export class CommandCenter {
dispose(): void {
this.disposables.forEach(d => d.dispose());
}
}
\ No newline at end of file
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册