Enable `noImplicitAny` in all packages
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 38/100
- issue の種類
- リファクタリング
- 明瞭さ
- 明確に書かれている
- 活発さ
- 活発
- 技術スタック
- typescript
- 領域
- build-system
調査の方向性
Start by reading the root tsconfig.json to see the noImplicitAny: false line inherited by each package, then pick one of the smallest packages from the table (e.g. ra-data-json-server with 1 error) and reproduce with tsc --noEmit -p packages/ra-data-json-server --noImplicitAny true. Fix the reported TS7006/TS7031 site by making the any explicit rather than narrowing a public signature, enable the flag in that package's tsconfig.json, and confirm the run is clean. Done means the package type-checks with the flag on and its public API types are unchanged.
索引モデルが issue の本文から書いたものです。
説明
Since the TypeScript 6 upgrade (#11347), the root tsconfig.json enables strict: true but still sets noImplicitAny: false, which disables strict's most important check for every package extending it.
Removing that line produces the following errors in package sources (specs and stories excluded), measured with tsc --noEmit -p packages/<pkg> --noImplicitAny true:
| Package | Errors |
|---|---|
| ra-ui-materialui | 214 |
| ra-core | 206 |
| ra-data-fakerest | 22 |
| ra-data-graphql-simple | 22 |
| ra-no-code | 22 |
| ra-data-local-storage | 20 |
| ra-data-graphql | 17 |
| ra-input-rich-text | 12 |
| ra-i18n-i18next | 8 |
| react-admin | 8 |
| create-react-admin | 6 |
| ra-data-json-server | 1 |
| ra-data-local-forage | 1 |
Mostly TS7006 (implicitly-any parameters), then TS7031 (destructured bindings) and TS7053 (index access). Spec and story files will add more.
Suggested approach: one PR per package (small packages first), enabling noImplicitAny in each package's tsconfig.json as it gets fixed, then removing the line from the root config. Public signatures must keep their current types (any made explicit rather than narrowed) to avoid breaking changes.
- 主要言語
- TypeScript
- スター
- 27k
- フォーク
- 5.5k
- 平均マージ
- 1日 3分
- マージ済み PR(30日)
- 32
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
marmelab/react-admin のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
marmelab/react-admin#11431 ·
メンテナーはふだん 1 日以内に返信
-
Pagination: page button aria-labels are not translated on small screens対応中かも @Singmin が 2 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
marmelab/react-admin#11427 ·
メンテナーはふだん 1 日以内に返信
-
Add emptyText property to SelectArrayInput対応中かも @kwitykwity が 60 日前に担当しました。 オープンenhancement good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
marmelab/react-admin#10454 · コメント 7 件 ·
メンテナーはふだん 1 日以内に返信
-
ra-data-graphql-simple: outdated graphql-ast-types-browser dependency causes npm peer warnings再び着手できるかも @bipul724 が 13 日前に担当しましたが、オープン中のプルリクエストはありません。 オープン
難易度 4/5 3〜5日 初心者へのやさしさ 25/100
marmelab/react-admin#11395 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
Fix decode-uri-component DoS (CVE-2026-45822) by dropping query-string再び着手できるかも このイシューのプルリクエストはマージされずにクローズされました。 オープン
難易度 3/5 1〜2日 初心者へのやさしさ 68/100
marmelab/react-admin#11380 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
marmelab/react-admin の issue をすべて見る
似ている issue
-
Replace discontinued crypto-js in the theme対応中かも @aelmanaa が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
PaloAltoNetworks/docusaurus-openapi-docs#1689 ·
メンテナーはふだん 2 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
solana-foundation/solana-web3.js#4015 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
メンテナーはふだん 1 日以内に返信
-
documentation
難易度 1/5 1〜3時間 初心者へのやさしさ 90/100
ivopogace/opencode-courier#422 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
chapel-lang/chapel-vscode#158 ·
メンテナーはふだん 1 日以内に返信