Skip to content

Commit

Permalink
Fix Record lint violations
Browse files Browse the repository at this point in the history
  • Loading branch information
vinistock committed Dec 11, 2023
1 parent 6e8b4c9 commit 28bf0e9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/test/fakeGlobalState.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import * as vscode from "vscode";

export default class FakeGlobalState implements vscode.Memento {
private storage: { [key: string]: any } = {};
private storage: Record<string, any> = {};

constructor() {
this.storage = {};
Expand Down
4 changes: 2 additions & 2 deletions src/test/fakeStore.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ import * as vscode from "vscode";
import { ConfigurationEntry, ConfigurationStore } from "../configurationStore";

export default class FakeStore implements ConfigurationStore {
private storage: { [key: string]: any } = {};
private workspaceStorage: { [key: string]: any } = {};
private storage: Record<string, any> = {};
private workspaceStorage: Record<string, any> = {};

constructor() {
this.storage = {};
Expand Down

0 comments on commit 28bf0e9

Please sign in to comment.