-
-
Notifications
You must be signed in to change notification settings - Fork 3
Add testing for types #14
Copy link
Copy link
Open
Labels
enhancementNew feature or requestNew feature or requesttypeThis is concerning typingsThis is concerning typings
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requesttypeThis is concerning typingsThis is concerning typings
Type
Fields
Give feedbackNo fields configured for issues without a type.
Search terms
Is your feature request related to a problem? Please describe.
Complicated overloads might not return what's originally intended.
Describe the solution you'd like
Testing the expected types.
Describe how this would benefit the project/others
Gives confidence in the in the expected types.
Additional context
https://github.com/SamVerschueren/tsd - configuarbility improved tsdjs/tsd#132
https://github.com/dsherret/conditional-type-checks
https://github.com/microsoft/DefinitelyTyped-tools/tree/master/packages/dtslint
and/or write my own like vue-test-utils
and/or write a bunch of
// @ts-expect-errorstatements