Skip to content

Commit

Permalink
chore(eslint-plugin): [no-invalid-void-type] fix Options typing to …
Browse files Browse the repository at this point in the history
…reflect `minItems: 1` (#8312)
  • Loading branch information
kazarmy committed Feb 3, 2024
1 parent e2b46e0 commit 1d7447f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/eslint-plugin/src/rules/no-invalid-void-type.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { getSourceCode } from '@typescript-eslint/utils/eslint-utils';
import { createRule } from '../util';

interface Options {
allowInGenericTypeArguments?: string[] | boolean;
allowInGenericTypeArguments?: [string, ...string[]] | boolean;
allowAsThisParameter?: boolean;
}

Expand Down

0 comments on commit 1d7447f

Please sign in to comment.