From c29aa78e1e2af94048937634817c38f55aa3724e Mon Sep 17 00:00:00 2001 From: Brad Zacher Date: Tue, 15 Aug 2023 14:43:45 +0930 Subject: [PATCH] fix(utils): some small type fixes --- packages/utils/src/ts-eslint/ESLint.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/utils/src/ts-eslint/ESLint.ts b/packages/utils/src/ts-eslint/ESLint.ts index a7aa2daec98d..eb1aae34de13 100644 --- a/packages/utils/src/ts-eslint/ESLint.ts +++ b/packages/utils/src/ts-eslint/ESLint.ts @@ -88,7 +88,7 @@ declare class ESLintBase { * @param results The LintResult objects to write. * @returns The promise that will be fulfilled after all files are written. */ - static outputFixes(results: ESLint.LintResult): Promise; + static outputFixes(results: ESLint.LintResult[]): Promise; /** * The version text. */ @@ -164,7 +164,7 @@ namespace ESLint { * Configuration object, overrides all configurations used with this instance. * You can use this option to define the settings that will be used even if your configuration files configure it. */ - overrideConfig?: Linter.ConfigOverride | null; + overrideConfig?: Linter.Config | null; /** * The path to a configuration file, overrides all configurations used with this instance. * The options.overrideConfig option is applied after this option is applied.