[go: up one dir, main page]

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

fix: typescript definitions #284

Merged
merged 1 commit into from
Jun 6, 2023
Merged

fix: typescript definitions #284

merged 1 commit into from
Jun 6, 2023

Conversation

markin-io
Copy link
@markin-io markin-io commented Jun 6, 2023

Issue being fixed or feature implemented

Fixed issue with the type system export and addressed some typings bugs

What was done?

  • Fixed bugs in existing typings systems
  • Made types accessible in both *.ts and *.d.ts (Got rid of export declare module and exported types directly from the root index.d.ts)
  • Added basic tests for exported type definitions

How Has This Been Tested?

  • CI
  • Tested imports in wallet-lib's *.d.ts definitions
  • Tested imports in SDK TS code

Breaking Changes

Checklist:

  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have added or updated relevant unit/integration/functional/e2e tests
  • I have made corresponding changes to the documentation

@markin-io markin-io changed the title test: add tests for typings and fix bugs fix: typescript definitions Jun 6, 2023
Copy link
Collaborator
@jawid-h jawid-h left a comment

Choose a reason for hiding this comment

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

Looks okay to me 👍

Copy link
Member
@shumkov shumkov left a comment

Choose a reason for hiding this comment

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

👍

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.

4 participants