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

feat: add types for enigma npm packages #983

Merged
merged 2 commits into from
Sep 6, 2023
Merged

feat: add types for enigma npm packages #983

merged 2 commits into from
Sep 6, 2023

Conversation

nilzona
Copy link
Contributor

@nilzona nilzona commented Sep 6, 2023

Adds typings (.d.ts) files for enigma so that package can be consumed in a typescript environment without having to install additional types form @types/enigmajs

  • enigma.d.ts <- defines what the module "enigma.js" returns and defines types for EnigmaJS namespace (Session, Configuration etc)
  • error-codes.d.ts <- defines type for "enigma.js/error-codes"
  • sense-utilities.d.ts <- defines type for "enigma.js/sense-utilities"

@nilzona nilzona merged commit 1cfaf07 into master Sep 6, 2023
2 checks passed
@nilzona nilzona deleted the add-types branch September 6, 2023 11:17
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.

2 participants