-
Notifications
You must be signed in to change notification settings - Fork 455
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Export all types in ts-jest/utils/testing.d.ts file #2086
Comments
You can provide type like
Does it suit your need ? |
@ahnpnl |
I see, so you want to use type directly via directive reference or import type |
@ahnpnl Yes. I want to import |
🚀 Feature Proposal
Consider exporting all types in the ts-jest/utils/testing.d.ts file
Motivation
Declare variable type manually.
Example
As you can see, I want to add an
Array<MockedObject<SomeInterface>>
type for themockedValidators
variable. Butts-jest/utils
does not exportMockedObject
type and related types,source code. So I have to copy and paste them into my test file.The text was updated successfully, but these errors were encountered: