File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1072,6 +1072,9 @@ const eslintConfig3: Linter.Config<ESLintRules & TSLinterRules> = eslintConfig2;
10721072eslintConfig3 . rules ; // $ExpectType Partial<ESLintRules & TSLinterRules> | undefined
10731073eslintConfig3 . overrides ?. [ 1 ] . rules ; // $ExpectType Partial<ESLintRules & TSLinterRules> | undefined
10741074
1075+ let legacyConfig : Linter . LegacyConfig = eslintConfig ;
1076+ eslintConfig = legacyConfig ;
1077+
10751078// #endregion
10761079
10771080// #region RuleTester
Original file line number Diff line number Diff line change @@ -1053,6 +1053,11 @@ export namespace Linter {
10531053 root ?: boolean | undefined ;
10541054 }
10551055
1056+ /**
1057+ * An alias for `Config` for interoperability with `@types/eslint@9`.
1058+ */
1059+ type LegacyConfig = Config ;
1060+
10561061 /**
10571062 * Parser options.
10581063 *
You can’t perform that action at this time.
0 commit comments