Browse Source

Enables useDefineForClassFields in tsconfig

main
Eric Amodio 3 years ago
parent
commit
3a66785965
2 changed files with 2 additions and 5 deletions
  1. +0
    -4
      src/quickpicks/gitQuickPickItems.ts
  2. +2
    -1
      tsconfig.json

+ 0
- 4
src/quickpicks/gitQuickPickItems.ts View File

@ -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 View File

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

Loading…
Cancel
Save