Skip to content

Add testing for types #14

Description

@nandi95

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesttypeThis is concerning typings

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions