types 3.0: add type tests

Open
#1,906 4 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
35/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
typescript

Research direction

Start by reviewing the TypeScript type interfaces and the repository's existing test setup, then investigate how a package such as tsd could fit. Add basic type tests for the interfaces, including more complex types where useful, and confirm that the tests protect the intended end-user experience during refactoring.

Written by the indexing model from the issue text.

Description

area:typescript enhancement pkg:types tests

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.

Dominant language
TypeScript
Stars
3.4k
Forks
693
Avg merge
1d 1h
Merged PRs (30d)
67

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from slackapi/node-slack-sdk

All issues in slackapi/node-slack-sdk

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.