Closed zmwangx closed 3 years ago
Can this be merged? currently blocked by this issue when using tailwind UI components...
The import("vue") should work normally. It always worked for me and others with Vue3+Vite+TS setups. There must be another issue why this happens.
@VottusCode I've created an example repository here that reproduces the problem: https://github.com/SniC/heroicons-vite-typescript-problem
Thanks for this! I think it should be RenderFunction
instead of DefineComponent
though? I'm going to make that change then publish a new version 👍
The declarations generated by #254 aren't correct, leading to tsc errors as seen in #318.