Skip to content

Commit

Permalink
fix(eslint-plugin): fix wrong typing for replacedBy in meta
Browse files Browse the repository at this point in the history
  • Loading branch information
otofu-square committed Apr 27, 2019
1 parent a2c96b2 commit 8342a2c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/eslint-plugin/src/rules/prefer-interface.ts
Expand Up @@ -19,7 +19,7 @@ export default util.createRule({
},
schema: [],
deprecated: true,
replacedBy: 'consistent-type-definisions',
replacedBy: ['consistent-type-definisions'],
},
defaultOptions: [],
create(context) {
Expand Down
2 changes: 1 addition & 1 deletion packages/eslint-plugin/typings/ts-eslint.d.ts
Expand Up @@ -262,7 +262,7 @@ declare module 'ts-eslint' {
/**
* The name of the rule this rule was replaced by, if it was deprecated.
*/
replacedBy?: string;
replacedBy?: string[];
/**
* The options schema. Supply an empty array if there are no options.
*/
Expand Down

0 comments on commit 8342a2c

Please sign in to comment.