Skip to content

Conversation

simusr2
Copy link

@simusr2 simusr2 commented Dec 11, 2021

Types not working when in destination project use of import are not required.
If I use imports in my project Typescript compiler generate "__esmodule" lines and this cause errors because undeclare variables.
With adding export as namespace typescript with some tsconfig.json configurations types are recognized without use of import.
I create a sample project, where I edited filepond's type file to test this edit.
https://github.com/simusr2/TestTypeScript

@rikschennink
Copy link
Collaborator

Thanks, not sure I'm familiar with this issue, if anyone else can chime in?

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