lint/src/util: fix TS2314

Fix error in lint:

> lint/src/util/structure.ts:16:20 - error TS2314: Generic type 'RuleMetaData<MessageIds, Options>' requires 2 type argument(s).
>
> 16 export type Meta = RuleMetaData<string>;
This commit is contained in:
Alan Orth
2024-09-04 09:43:48 +03:00
parent da1789aece
commit e29a6a3c0a

View File

@@ -13,7 +13,7 @@ import {
} from '@typescript-eslint/utils/ts-eslint'; } from '@typescript-eslint/utils/ts-eslint';
import { EnumType } from 'typescript'; import { EnumType } from 'typescript';
export type Meta = RuleMetaData<string>; export type Meta = RuleMetaData<string, unknown[]>;
export type Valid = ValidTestCase<unknown[]>; export type Valid = ValidTestCase<unknown[]>;
export type Invalid = InvalidTestCase<string, unknown[]>; export type Invalid = InvalidTestCase<string, unknown[]>;