🚀 Feature Proposal
Just like other dependencies, it would be good to have @jest/types as an optional peer dependency:
package.json
"peerDependenciesMeta": {
"@jest/types": {
"optional": true
}
}
Motivation
It seems not to be necessary to use @jest/types to get jest types. Docs uses @jest/globals to use the new mock syntax. Since it's possible to use jest in a ts project without @jest/types, it makes sense to me to update this peer dependency to be optional.
Example
No response
🚀 Feature Proposal
Just like other dependencies, it would be good to have
@jest/typesas an optional peer dependency:package.json
Motivation
It seems not to be necessary to use
@jest/typesto get jest types. Docs uses@jest/globalsto use the new mock syntax. Since it's possible to usejestin a ts project without@jest/types, it makes sense to me to update this peer dependency to be optional.Example
No response