Skip to content

Add testing for types #14

@nandi95

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesttypeThis is concerning typings

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions