瀏覽代碼

Enables useDefineForClassFields in tsconfig

main
Eric Amodio 3 年之前
父節點
當前提交
3a66785965
共有 2 個檔案被更改,包括 2 行新增5 行删除
  1. +0
    -4
      src/quickpicks/gitQuickPickItems.ts
  2. +2
    -1
      tsconfig.json

+ 0
- 4
src/quickpicks/gitQuickPickItems.ts 查看文件

@ -18,10 +18,6 @@ import { CommandQuickPickItem, QuickPickItemOfT } from './quickPicksItems';
import { Dates, Strings } from '../system';
export class GitCommandQuickPickItem extends CommandQuickPickItem<[GitCommandsCommandArgs]> {
label!: string;
description?: string;
detail?: string | undefined;
constructor(label: string, args: GitCommandsCommandArgs);
constructor(item: QuickPickItem, args: GitCommandsCommandArgs);
constructor(labelOrItem: string | QuickPickItem, args: GitCommandsCommandArgs) {

+ 2
- 1
tsconfig.json 查看文件

@ -17,7 +17,8 @@
"skipLibCheck": true,
"sourceMap": true,
"strict": true,
"target": "es2019"
"target": "es2019",
"useDefineForClassFields": true
},
"exclude": ["node_modules", "test", "src/webviews/apps"]
}

Loading…
取消
儲存