Skip to content
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

Add testing for types #14

Open
nandi95 opened this issue Apr 15, 2021 · 0 comments
Open

Add testing for types #14

nandi95 opened this issue Apr 15, 2021 · 0 comments
Labels
enhancement New feature or request type This is concerning typings

Comments

@nandi95
Copy link
Collaborator

nandi95 commented Apr 15, 2021

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

@nandi95 nandi95 added the enhancement New feature or request label Apr 15, 2021
@nandi95 nandi95 self-assigned this Apr 15, 2021
@nandi95 nandi95 removed their assignment Oct 2, 2021
@nandi95 nandi95 added the type This is concerning typings label Dec 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request type This is concerning typings
Projects
None yet
Development

No branches or pull requests

1 participant