Skip to content

Fix import .d.ts as dependency #437

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

Merged
merged 4 commits into from
Mar 1, 2021
Merged

Conversation

07akioni
Copy link
Contributor

@07akioni 07akioni commented Feb 23, 2021

I'm not sure if this is a valid fix since the test passed locally on my laptop failed on CI.

Please make a review.

Fix #408

@07akioni 07akioni changed the title [wip] Fix import .d.ts as dependency Fix import .d.ts as dependency Feb 23, 2021
@erikbarke
Copy link
Collaborator

erikbarke commented Feb 24, 2021

Thanks for the PR ☺️ However, this change breaks the build on both build servers:
https://travis-ci.org/github/monounity/karma-typescript/builds/760190987
https://ci.appveyor.com/project/monounity/karma-typescript/builds/37913531

Have you been able to run the integration tests on your end?

https://github.com/monounity/karma-typescript/wiki/Contributing

@07akioni
Copy link
Contributor Author

07akioni commented Feb 25, 2021

I managed to make a valid fix. However I still doesn't know why keep the .d.ts file out of bundle doesn't work. I find the inner structure is rather complex😂.

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.

Unable to resolve module error when importing from package with only type definitions
2 participants