Skip to content

Commit cdd93f6

Browse files
authored
docs(eslint-plugin): [no-inferrable-types] do not use no-inferrable-types with isolatedDeclarations compiler option (typescript-eslint#9956)
docs: do not use no-inferrable-types with isolatedDeclarations compiler option
1 parent d0e35d9 commit cdd93f6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

packages/eslint-plugin/docs/rules/no-inferrable-types.mdx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,8 @@ class Foo {
106106

107107
If you strongly prefer to have explicit types regardless of whether they can be inferred, this rule may not be for you.
108108

109+
If you use the `--isolatedDeclarations` compiler option, this rule is incompatible.
110+
109111
## Further Reading
110112

111113
- [TypeScript Inference](https://www.typescriptlang.org/docs/handbook/type-inference.html)

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