Skip to content

Plugin uses module 'typescript' instead of the instance instantiating the plugin #80

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

Closed
nonara opened this issue Nov 25, 2020 · 0 comments · Fixed by #81
Closed

Plugin uses module 'typescript' instead of the instance instantiating the plugin #80

nonara opened this issue Nov 25, 2020 · 0 comments · Fixed by #81

Comments

@nonara
Copy link
Collaborator

nonara commented Nov 25, 2020

In cases where a custom instance of ts is used (one which differs from what resolves from require('typescript')), the plugin uses the local copy. This can cause various issues.

A transformer should always use the version passed to it by ttypescript or ts-patch

Note: I have this fixed and will be submitting a PR which closes this and other open issues shortly

@nonara nonara mentioned this issue Nov 26, 2020
1 task
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 a pull request may close this issue.

1 participant