Skip to content

chore: use TSTyche for type testing - #243

Open
mrazauskas wants to merge 1 commit into
pinojs:masterfrom
mrazauskas:use-tstyche
Open

mrazauskas wants to merge 1 commit into
pinojs:masterfrom
mrazauskas:use-tstyche

Conversation

@mrazauskas

Copy link
Copy Markdown
Contributor

Similar to #239, but modernizes typing infrastructure.

This PR:

  • moves index.d.ts to the root
  • enables linting of .ts files
  • migrates type tests to TSTyche

To simplify layout of the repo, I moved index.d.ts to the root. Its content is identical, only the RetryCallback definition is exported as a separate type (to allow typing standalone callback functions, as per an example in the type test).

Signed-off-by: mrazauskas <tom@mrazauskas.de>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant