Content-Length: 1027 | pFad | http://github.com/typescript-eslint/typescript-eslint/pull/9956.patch

thub.com 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)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/typescript-eslint/typescript-eslint/pull/9956.patch

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy