Skip to content

Commit

Permalink
fix(experimental-utils): getParserServices takes a readonly context (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
danielnixon committed Jun 21, 2020
1 parent c0b3057 commit 26da8de
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -11,7 +11,7 @@ function getParserServices<
TMessageIds extends string,
TOptions extends readonly unknown[]
>(
context: TSESLint.RuleContext<TMessageIds, TOptions>,
context: Readonly<TSESLint.RuleContext<TMessageIds, TOptions>>,
allowWithoutFullTypeInformation = false,
): ParserServices {
// backwards compatibility check
Expand Down

0 comments on commit 26da8de

Please sign in to comment.