You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Seems like the issue was with the autogenerated file not using import type where needed (type-only imports) and that issue was fixed in the library. Therefore this should be closed.
Is your feature request related to a problem? Please describe.
I'm using Svelte Kit and the amazing protobuf-ts.
I'm having this error:
As @timostamm noted this error is due to this new
svelte-preprocess
's Typescript limitation.But that makes it frustrating if not impossible to work with libraries like @timostamm's amazing one.
Describe the solution you'd like
I don't know! :(
Describe alternatives you've considered
I tried to change and remove
.tsconfig
'simportsNotUsedAsValues
prop but the error is still there.How important is this feature to you?
I'm pretty worried.
We CANNOT change each generated file every time we re-generate.
Additional context
This is the example repo: https://github.com/frederikhors/protobuf-ts-issue-94.
I'm using Win 10 64, node v14.16.0, npm v7.8.0.
Steps to reproduce:
clone it with
git clone https://github.com/frederikhors/protobuf-ts-issue-94.git
npm install
npm run dev -- --open
click on "Protobuf" top menu link
the error shows up
Please HELP ME!
The text was updated successfully, but these errors were encountered: