Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Enable `noImplicitAny` in all packages

オープン
#11,426 コメント 0 件 リアクション 1 件 担当者 0 名 GitHub で見る

メンテナーはふだん 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

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

marmelab/react-admin のほかの issue

marmelab/react-admin の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。