javascript - 如何在类型上禁用分号规则?
tslint 正在将逗号替换为分号:
async foo(): Promise<Array<{ a: A, b: string }>> {
async foo(): Promise<Array<{ a: A; b: string }>> {
// ^
我该如何禁用它?
网站搜索
tslint 正在将逗号替换为分号:
async foo(): Promise<Array<{ a: A, b: string }>> {
async foo(): Promise<Array<{ a: A; b: string }>> {
// ^
我该如何禁用它?