Skip to content

Commit

Permalink
lint/src/util: fix TS2314
Browse files Browse the repository at this point in the history
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>;
  • Loading branch information
alanorth committed Sep 5, 2024
1 parent a6978a7 commit 7fff8f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lint/src/util/structure.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import {
} from '@typescript-eslint/utils/ts-eslint';
import { EnumType } from 'typescript';

export type Meta = RuleMetaData<string>;
export type Meta = RuleMetaData<string, unknown[]>;
export type Valid = ValidTestCase<unknown[]>;
export type Invalid = InvalidTestCase<string, unknown[]>;

Expand Down

0 comments on commit 7fff8f2

Please sign in to comment.