Skip to content

Commit 33522b4

Browse files
authored
docs(eslint-plugin): [no-redeclare] fix type/variable names of base options (typescript-eslint#2568)
1 parent 41d4a47 commit 33522b4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/eslint-plugin/docs/rules/no-redeclare.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,12 @@ See [`eslint/no-redeclare` options](https://eslint.org/docs/rules/no-redeclare#o
2121
This rule adds the following options:
2222

2323
```ts
24-
interface Options extends BaseNoShadowOptions {
24+
interface Options extends BaseNoRedeclareOptions {
2525
ignoreDeclarationMerge?: boolean;
2626
}
2727

2828
const defaultOptions: Options = {
29-
...baseNoShadowDefaultOptions,
29+
...baseNoRedeclareDefaultOptions,
3030
ignoreDeclarationMerge: true,
3131
};
3232
```

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy