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 bc0c239 commit 26e57a7
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 './tsUtils';

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 26e57a7

Please sign in to comment.