editor/code: Enable noImplicitOverride ts option

This commit is contained in:
Tetsuharu Ohzeki 2023-06-28 03:12:42 +09:00
parent 89d7056151
commit 8e0efbc2a7
2 changed files with 4 additions and 5 deletions

View File

@ -108,10 +108,10 @@ export class RustDependenciesProvider
export class Dependency extends vscode.TreeItem {
constructor(
public readonly label: string,
public override readonly label: string,
private version: string,
readonly dependencyPath: string,
public readonly collapsibleState: vscode.TreeItemCollapsibleState
public override readonly collapsibleState: vscode.TreeItemCollapsibleState
) {
super(label, collapsibleState);
this.resourceUri = vscode.Uri.file(dependencyPath);
@ -127,10 +127,10 @@ export class Dependency extends vscode.TreeItem {
export class DependencyFile extends vscode.TreeItem {
constructor(
readonly label: string,
override readonly label: string,
readonly dependencyPath: string,
readonly parent: Dependency | DependencyFile,
public readonly collapsibleState: vscode.TreeItemCollapsibleState
public override readonly collapsibleState: vscode.TreeItemCollapsibleState
) {
super(vscode.Uri.file(dependencyPath), collapsibleState);
this.id = this.resourceUri!.fsPath.toLowerCase();

View File

@ -13,7 +13,6 @@
// to update typescript version without any code change.
"useUnknownInCatchVariables": false,
"exactOptionalPropertyTypes": false,
"noImplicitOverride": false,
"noPropertyAccessFromIndexSignature": false,
"noUncheckedIndexedAccess": false
},