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 ts support for offchain #6

Merged
merged 2 commits into from
Oct 17, 2024
Merged

Conversation

HinsonSIDAN
Copy link
Contributor

@HinsonSIDAN HinsonSIDAN commented Oct 17, 2024

Description

There is issue for TS module resolution as it tries to search for declaration file:
image

New packaging

Adding TS support, which can make TS project successfully import the package
image

  • all tests passes

Copy link
Member

Choose a reason for hiding this comment

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

Is the rename necessary here?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I didnt try tsup with a JS file before, just tried it once and it works. So just pushed rename back to .js

@KtorZ
Copy link
Member

KtorZ commented Oct 17, 2024

I like the idea, even though the project isn't meant to be TypeScript compatible, but the changes to get it to work sounds reasonable :)

@KtorZ KtorZ merged commit 1d47a1c into aiken-lang:main Oct 17, 2024
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