From 48799848bb235229fba657a3b056ae87ea2415da Mon Sep 17 00:00:00 2001 From: "yuya.yoshioka" Date: Mon, 9 Sep 2024 23:29:00 +0900 Subject: [PATCH] docs: do not use no-inferrable-types with isolatedDeclarations compiler option --- packages/eslint-plugin/docs/rules/no-inferrable-types.mdx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/eslint-plugin/docs/rules/no-inferrable-types.mdx b/packages/eslint-plugin/docs/rules/no-inferrable-types.mdx index 0cf7caa4d767..1bddfeb3c249 100644 --- a/packages/eslint-plugin/docs/rules/no-inferrable-types.mdx +++ b/packages/eslint-plugin/docs/rules/no-inferrable-types.mdx @@ -106,6 +106,8 @@ class Foo { If you strongly prefer to have explicit types regardless of whether they can be inferred, this rule may not be for you. +If you use the `--isolatedDeclarations` compiler option, this rule is incompatible. + ## Further Reading - [TypeScript Inference](https://www.typescriptlang.org/docs/handbook/type-inference.html) 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