Skip to content

Conversation

kraenhansen
Copy link
Contributor

Summary:

See #53563 for more context.

Drafted to wait for react-native-community/template#177 to merge and release.

Changelog:

[GENERAL] [REMOVED] - Remove explicit use of jest types in tsconfig.json: Apps should declare this themselves.

Test Plan:

  1. Initialize the template npx @react-native-community/cli@latest init TestApp (once Add explicit use of jest types in tsconfig.json react-native-community/template#177 is merged and released)
  2. Patch node_modules/@react-native/typescript-config/tsconfig.json with this suggested change.
  3. Note how this doesn't affect the ability to use describe in source files.

@meta-cla meta-cla bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Sep 19, 2025
@cortinico cortinico requested a review from robhogan September 19, 2025 15:37
@robhogan
Copy link
Contributor

This is the right move in principle but I think it should be labelled semver breaking - if users update to this without making the required change, their projects won't typecheck IIUC (which could break their CI, etc).

@cortinico where do we stand on that at the moment?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants