diff --git a/src/quickpicks/gitQuickPickItems.ts b/src/quickpicks/gitQuickPickItems.ts index 418e6b5..e5a125c 100644 --- a/src/quickpicks/gitQuickPickItems.ts +++ b/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) { diff --git a/tsconfig.json b/tsconfig.json index 5b2a2c5..7d89fee 100644 --- a/tsconfig.json +++ b/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"] }