Skip to content

Add TypeScript support#46

Merged
MauriceButler merged 1 commit intoMauriceButler:masterfrom
apstanisic:add-types
Mar 6, 2023
Merged

Add TypeScript support#46
MauriceButler merged 1 commit intoMauriceButler:masterfrom
apstanisic:add-types

Conversation

@apstanisic
Copy link
Copy Markdown

@apstanisic apstanisic commented Mar 5, 2023

Added types for Cryptr in index.ts.
Changed package.json to add types property.

I do not think this is a breaking change. Only way this is a breaking change is if user uses TypeScript, but used this package incorrectly, and now his build is failing. But I do not see how that is possible, since this library would've thrown an error already. Anyone who used package properly, user old types from @types/cryptr, or use only js, this is not a breaking change.

But I'll leave that to you.
Closes #45

@MauriceButler
Copy link
Copy Markdown
Owner

MauriceButler commented Mar 6, 2023

Thanks!

Released as v6.2.0

@MauriceButler MauriceButler merged commit ab38020 into MauriceButler:master Mar 6, 2023
@apstanisic apstanisic deleted the add-types branch March 6, 2023 10:35
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.

Add TypeScript types in in this package

2 participants