Ver código fonte

Enables useDefineForClassFields in tsconfig

main
Eric Amodio 3 anos atrás
pai
commit
3a66785965
2 arquivos alterados com 2 adições e 5 exclusões
  1. +0
    -4
      src/quickpicks/gitQuickPickItems.ts
  2. +2
    -1
      tsconfig.json

+ 0
- 4
src/quickpicks/gitQuickPickItems.ts Ver arquivo

@ -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 Ver arquivo

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

Carregando…
Cancelar
Salvar