Skip to content

Commit

Permalink
refactor: accept readonly on suggestions
Browse files Browse the repository at this point in the history
  • Loading branch information
rafaelss95 committed Oct 12, 2021
1 parent ee29109 commit 02b1fbd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/experimental-utils/src/ts-eslint/RuleTester.ts
@@ -1,7 +1,7 @@
import { RuleTester as ESLintRuleTester } from 'eslint';
import { AST_NODE_TYPES, AST_TOKEN_TYPES } from '../ts-estree';
import { ParserOptions } from './ParserOptions';
import { Linter } from './Linter';
import { ParserOptions } from './ParserOptions';
import {
RuleCreateFunction,
RuleModule,
Expand Down Expand Up @@ -108,7 +108,7 @@ interface TestCaseError<TMessageIds extends string> {
/**
* Reported suggestions.
*/
readonly suggestions?: SuggestionOutput<TMessageIds>[] | null;
readonly suggestions?: readonly SuggestionOutput<TMessageIds>[] | null;
/**
* The type of the reported AST node.
*/
Expand Down

0 comments on commit 02b1fbd

Please sign in to comment.