Enable `noImplicitAny` in all packages
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- Más de una semana
- Aptitud para principiantes
- 38/100
- Tipo de issue
- Refactorización
- Claridad
- Bien especificado
- Estado de actividad
- Activo
- Stack tecnológico
- typescript
- Área
- build-system
Línea de trabajo
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.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
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.
- Lenguaje dominante
- TypeScript
- Estrellas
- 27k
- Forks
- 5.5k
- Merge medio
- 1 d 3 min
- PR fusionados (30 d)
- 32
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de marmelab/react-admin
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
marmelab/react-admin#11431 ·
Los mantenedores suelen responder en 1 día
-
Pagination: page button aria-labels are not translated on small screensPosiblemente ocupada @Singmin la tomó hace 2 días. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
marmelab/react-admin#11427 ·
Los mantenedores suelen responder en 1 día
-
Add emptyText property to SelectArrayInputPosiblemente ocupada @kwitykwity la tomó hace 60 días. Abiertoenhancement good first issue
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
marmelab/react-admin#10454 · 7 comentarios ·
Los mantenedores suelen responder en 1 día
-
ra-data-graphql-simple: outdated graphql-ast-types-browser dependency causes npm peer warningsQuizá libre de nuevo @bipul724 la tomó hace 13 días y no hay ningún pull request abierto. Abierto
Dificultad 4/5 3-5 días Aptitud para principiantes 25/100
marmelab/react-admin#11395 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Fix decode-uri-component DoS (CVE-2026-45822) by dropping query-stringQuizá libre de nuevo Un pull request para esta issue se cerró sin fusionarse. Abierto
Dificultad 3/5 1-2 días Aptitud para principiantes 68/100
marmelab/react-admin#11380 · 1 comentario ·
Los mantenedores suelen responder en 1 día
Todos los issues de marmelab/react-admin
Issues similares
-
bug triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
Los mantenedores suelen responder en 1 día
-
Export the Hemi Earn Router address and the Router and Agent ABIs from `@vetro-protocol/earn`Abiertohemi-earn
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
vetro-protocol/vetro-monorepo#1043 ·
Los mantenedores suelen responder en 1 día
-
stage 2: bare names resolve against PATH differently from the shell (empty and relative entries)Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
STRML/omp-classifier#206 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
atlassian-labs/mermaid-diagrams-viewer#188 ·
Los mantenedores suelen responder en 1 día
-
dashboard enhancement
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
Olanetsoft/agent-lookout#225 ·
Los mantenedores suelen responder en 1 día