-
Notifications
You must be signed in to change notification settings - Fork 33
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
bug in readme? #439
Comments
Hey, This must have something to do with your tooling. With vanilla I'm fine with making the proposed change to the docs, but I'd like to figure it out first. Which bundler are you using? |
I opened the tsconfig.json and I maybe found the reason (in comment) 😬 :
|
So what triggers this error is this setting: "importsNotUsedAsValues": "error" Thanks for the report! I will fix the readme. |
This is my full tsconfig.json:
importsNotUsedAsValues is deprecated: https://www.typescriptlang.org/tsconfig#importsNotUsedAsValues so I think it's ok when I have it commented. So I think this problem is here because I'm using Svelte: svelte-preprocess ... |
Hello!
I tried generate example step-by-step with example codes and I get this error:
SyntaxError: The requested module '/src/lib/proto/example.ts' does not provide an export named 'ExampleServiceClient'
because ExampleServiceClient is generated only like interface...
So I think the right example from readme:
should be this:
The text was updated successfully, but these errors were encountered: