Skip to content

Property 'cause' in type 'WebrpcError' is not assignable to the same property in base type 'Error'.  #231

@robfordww

Description

@robfordww

Hi,

Possible bugreport regarding the typescript generated file.

I get the typescript error below from the *.gen-ts file. Probably some nitpicking from the typescript system as everything seems to run fine.

As far as I know, I run the latest versions

webrpc-gen --version
webrpc-gen v0.13.0

Property 'cause' in type 'WebrpcError' is not assignable to the same property in base type 'Error'.
  Type 'string | undefined' is not assignable to type 'Error | undefined'.

image

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions