Skip to content

Commit

Permalink
chore(valid-expect-in-promise): use unknown instead of any
Browse files Browse the repository at this point in the history
  • Loading branch information
G-Rath committed Aug 11, 2019
1 parent 7b3ee19 commit 0ccc064
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rules/valid-expect-in-promise.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import {
} from './utils';

type MessageIds = 'returnPromise';
type RuleContext = TSESLint.RuleContext<MessageIds, any[]>;
type RuleContext = TSESLint.RuleContext<MessageIds, unknown[]>;

type ThenOrCatchCallExpression = KnownCallExpression<'then' | 'catch'>;

Expand Down

0 comments on commit 0ccc064

Please sign in to comment.