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
I'm using @ory/keto-grpc-client with typescript and i am seeing compiler issues in some files...
node_modules/@ory/keto-grpc-client/ory/keto/relation_tuples/v1alpha2/write_service_grpc_pb.d.ts
node_modules/@ory/keto-grpc-client/ory/keto/relation_tuples/v1alpha2/check_service_grpc_pb.d.ts
node_modules/@ory/keto-grpc-client/ory/keto/relation_tuples/v1alpha2/expand_service_grpc_pb.d.ts
node_modules/@ory/keto-grpc-client/ory/keto/relation_tuples/v1alpha2/read_service_grpc_pb.d.ts
Cannot find module 'grpc' or its corresponding type declarations.
import * as grpc from "grpc";
I think maybe those should be importing from "@grpc/grpc-js" instead?
Additionally,
node_modules/@ory/keto-grpc-client/ory/keto/relation_tuples/v1alpha2/index.d.ts:11:3 - error TS2666: Exports and export assignments are not permitted in module augmentations.
node_modules/@ory/keto-grpc-client/index.d.ts:4:3 - error TS2666: Exports and export assignments are not permitted in module augmentations.
Preflight checklist
Describe the bug
I'm using @ory/keto-grpc-client with typescript and i am seeing compiler issues in some files...
I think maybe those should be importing from "@grpc/grpc-js" instead?
Additionally,
Here is my tsconfig file,
Reproducing the bug
Create typescript project and use tsc command to build
Relevant log output
No response
Relevant configuration
No response
Version
0.11.0-alpha.0
On which operating system are you observing this issue?
None
In which environment are you deploying?
None
Additional Context
I can overcome the issue for now by adding skipLibCheck: true, but i would prefer to not have to do that long term
The text was updated successfully, but these errors were encountered: