Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added Typescript support #27

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

lekoaf
Copy link

@lekoaf lekoaf commented Oct 1, 2020

  • added typescript dependency and tsconfig.json
  • updated .babelrc to compile typescript files
  • renamed src/index.js to src/index.ts
  • added types to all paramaters
  • when building, emits a type declaration in the lib directory
  • tests now build first and uses built file to run

tests

Closes #26.

@lekoaf lekoaf force-pushed the feat/typescript_support branch from 9ca3662 to 8ae5325 Compare October 1, 2020 21:23
- added typescript dependency and tsconfig.json
- updated .babelrc to compile typescript files
- renamed src/index.js to src/index.ts
- added types to all paramaters
- when building, emits a type declaration
- tests now build first and uses built file to run

Closes vacu#26.
@lekoaf lekoaf force-pushed the feat/typescript_support branch from 8ae5325 to cd7a674 Compare October 1, 2020 21:24
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.

Typescript Support
1 participant