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 type declarations in build #46

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Gravitonic
Copy link

This should fix #29 by running tsc against the source files instead of the build files in dist/ to generate type declarations (the previous generated dist/index.d.ts tried to export types that weren't imported or declared). This PR should fix the type declarations for import * as txml from 'txml'; usage.

@Huddo121
Copy link

Ah, nice, you've probably saved me a good chunk of time mucking about with this.
@TobiasNickel it would be great if this was merged, I imagine a few other people will bump in to the same issue otherwise 🙏

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.

index.d.ts errors in console
2 participants