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

refactor: add types #7

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

Conversation

roschaefer
Copy link

Motivation

This will add types.

The behaviour has changed minimally. The conditions don't check for key in data but simply data.key. I think considering the differences, it's perfectly for fine for this library.

How to test

  1. npm run build
  2. Have a look in dist/

close #6

Motivation
----------
This will add types.

The behaviour has changed minimally. The conditions don't check for
`key in data` but simply `data.key`. I think considering the
differences, it's perfectly for fine for this library.

How to test
-----------
1. `npm run build`
2. Have a look in `dist/`

close derhuerst#6
Copy link

New dependencies detected. Learn more about Socket for GitHub ↗︎

Package New capabilities Transitives Size Publisher
npm/@types/[email protected] None 0 7.46 kB types
npm/@types/[email protected] None 0 5.92 kB types
npm/[email protected] Transitive: environment, eval +28 710 kB ljharb
npm/[email protected] None 0 22.4 MB typescript-bot

View full report↗︎

@@ -0,0 +1,86 @@
"use strict";
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can of course gitignore dist/ folder. I just left it there to be able to install this package from Github.

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