-
Notifications
You must be signed in to change notification settings - Fork 676
types 3.0: add type tests #1906
Copy link
Copy link
Open
Labels
area:typescriptissues that specifically impact using the package from typescript projectsissues that specifically impact using the package from typescript projectsenhancementM-T: A feature request for new functionalityM-T: A feature request for new functionalitypkg:typesapplies to `@slack/types`applies to `@slack/types`testsM-T: Testing work onlyM-T: Testing work only
Milestone
Metadata
Metadata
Assignees
Labels
area:typescriptissues that specifically impact using the package from typescript projectsissues that specifically impact using the package from typescript projectsenhancementM-T: A feature request for new functionalityM-T: A feature request for new functionalitypkg:typesapplies to `@slack/types`applies to `@slack/types`testsM-T: Testing work onlyM-T: Testing work only
Using a package like
tsd, we can write basic tests for the type interfaces. For more complex types this can be extremely useful, especially during refactoring, to ensure the end-user experience stays consistent / we don't regress on the developer experience that TS provides.