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

bugfix: Satisfy typescript constraints #741

Merged
merged 1 commit into from
Feb 13, 2023
Merged

bugfix: Satisfy typescript constraints #741

merged 1 commit into from
Feb 13, 2023

Conversation

aorumbayev
Copy link
Contributor

@aorumbayev aorumbayev commented Feb 12, 2023

Description

I was using js algosdk as part of a ts npm package that relies on https://www.npmjs.com/package/dts-bundle-generator for bundle generation. The main dependency was beaker-ts (which relies on algosdk) client however dts bundler revealed tiny ts related errors that had to be addressed to properly transpile the code. Refer to screens below describing the errors that were addressed.

Proposed changes

  1. Error in DistributiveOverwrite in utils.ts file

screen1

  1. Error in ConstructTransaction in builder.ts file

screen2

Further notes

I will rely on the forked version of the repo in the meantime

@barnjamin
Copy link
Contributor

related issue #638

@barnjamin barnjamin changed the title Fixing typescript errors bugfix: Satisfy typescript constraints Feb 12, 2023
@barnjamin barnjamin closed this Feb 12, 2023
@barnjamin barnjamin reopened this Feb 12, 2023
Copy link
Contributor

@algochoi algochoi left a comment

Choose a reason for hiding this comment

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

Thank you for the change - I can confirm that I get similar suggestions on my editor and this looks like the most straightforward fix to me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants