Use Record<string, unknown> for additionalRunQueryArgs

This commit is contained in:
Robert 2024-02-12 13:45:23 +00:00
Родитель 25f179ca0e
Коммит e5961f2967
2 изменённых файлов: 3 добавлений и 3 удалений

Просмотреть файл

@ -130,7 +130,7 @@ export class QueryRunner {
query: CoreQueryTarget,
additionalPacks: string[],
extensionPacks: string[] | undefined,
additionalRunQueryArgs: Record<string, any>,
additionalRunQueryArgs: Record<string, unknown>,
generateEvalLog: boolean,
outputDir: QueryOutputDir,
progress: ProgressCallback,
@ -216,7 +216,7 @@ export class QueryRunner {
generateEvalLog: boolean,
additionalPacks: string[],
extensionPacks: string[] | undefined,
additionalRunQueryArgs: Record<string, any>,
additionalRunQueryArgs: Record<string, unknown>,
queryStorageDir: string,
id = `${basename(query.queryPath)}-${nanoid()}`,
templates: Record<string, string> | undefined,

Просмотреть файл

@ -28,7 +28,7 @@ export async function compileAndRunQueryAgainstDatabaseCore(
generateEvalLog: boolean,
additionalPacks: string[],
extensionPacks: string[] | undefined,
additionalRunQueryArgs: Record<string, any>,
additionalRunQueryArgs: Record<string, unknown>,
outputDir: QueryOutputDir,
progress: ProgressCallback,
token: CancellationToken,