Open
Description
Search terms
- TypeDefinition
- types
- definition
- overrides
- testing
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-error
statements