Skip to content

Commit

Permalink
docs(eslint-plugin): fix no-throw-literal options type (#5591)
Browse files Browse the repository at this point in the history
  • Loading branch information
haines committed Sep 4, 2022
1 parent d1d424c commit 6634e86
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/eslint-plugin/docs/rules/no-throw-literal.md
Expand Up @@ -94,7 +94,7 @@ throw new CustomError();
This rule adds the following options:

```ts
interface Options extends BaseNoShadowOptions {
interface Options {
/**
* Whether to always allow throwing values typed as `any`.
*/
Expand All @@ -107,7 +107,6 @@ interface Options extends BaseNoShadowOptions {
}

const defaultOptions: Options = {
...baseNoShadowDefaultOptions,
allowThrowingAny: false,
allowThrowingUnknown: false,
};
Expand Down

0 comments on commit 6634e86

Please sign in to comment.