Skip to content

Commit

Permalink
removed the no-var eslint rule and added some stuff to schema defintions
Browse files Browse the repository at this point in the history
  • Loading branch information
Brendan Falk committed Apr 15, 2021
1 parent 13f7084 commit eeb857c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ module.exports = {
},
],
"no-unused-vars": ["off"],
"no-var": ["off"],
"@typescript-eslint/no-unused-vars": ["off"],
},
};
2 changes: 1 addition & 1 deletion schemas/fig.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ declare namespace Fig {
* @example
* Laravel artisan has its own subcommands but also lets you define your own completion spec.
*/
generateSpec?: Function<string[], Promise<Subcommand[]>>;
generateSpec?: Function<string[], Promise<Spec>>;
}

export interface Option extends BaseSuggestion {
Expand Down

0 comments on commit eeb857c

Please sign in to comment.