Skip to content

Commit 97fb4ea

Browse files
committed
Use Record
1 parent 911c3af commit 97fb4ea

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

extensions/ql-vscode/src/skeleton-query-wizard.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,7 @@ import { DatabaseItem, DatabaseManager } from "./local-databases";
1111
import * as databaseFetcher from "./databaseFetcher";
1212
import { ProgressCallback } from "./progress";
1313

14-
type QueryLanguagesToDatabaseMap = {
15-
[id: string]: string;
16-
};
14+
type QueryLanguagesToDatabaseMap = Record<string, string>;
1715

1816
export const QUERY_LANGUAGE_TO_DATABASE_REPO: QueryLanguagesToDatabaseMap = {
1917
cpp: "protocolbuffers/protobuf",

0 commit comments

Comments
 (0)