chore: evaluate removing isolatedDeclarations from tsconfig
@bennypowers がすでに取り組んでいます。
2026年5月8日 から。
評価
この issue はまだ評価されていません。
説明
Problem
tsconfig.settings.json sets "isolatedDeclarations": true (line 19), which requires explicit type annotations on all exported declarations.
This contradicts the convention documented in CLAUDE.md:
static styles = [styles]array form
With --isolatedDeclarations enabled, that form produces TS9017:
error TS9017: Only const arrays can be inferred with --isolatedDeclarations.
The actual working form must be:
static readonly styles: CSSStyleSheet[] = [styles];
The sibling project red-hat-design-system does not use --isolatedDeclarations and uses the simpler inferred form without issue.
Question
Should we remove isolatedDeclarations from tsconfig.settings.json to allow the simpler convention, or update CLAUDE.md to document the explicit type annotation requirement?
- 主要言語
- TypeScript
- スター
- 394
- フォーク
- 107
- PR マージ指標
- 30日以内にマージされた PR はありません
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
patternfly/patternfly-elements のほかの issue
-
bug
patternfly/patternfly-elements#3158 · 担当者 1 名 ·
-
docs
patternfly/patternfly-elements#3131 · 担当者 1 名 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 55/100
patternfly/patternfly-elements#3122 ·
-
難易度 5/5 1週間以上 初心者へのやさしさ 38/100
patternfly/patternfly-elements#3118 ·
-
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
patternfly/patternfly-elements#3110 ·
patternfly/patternfly-elements の issue をすべて見る
似ている issue
-
blocklist removal
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
MetaMask/eth-phishing-detect#296544 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
pastelsky/bundlephobia#1122 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
-
category/development priority/P2 scope/file-operations scope/testing type/enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
-
Enatega Customer and Rider app: Add-ons price is not visible to customer after order is placed. オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100