DEV Community

Discussion on: Is Declaration Merging and Generic Inheritance at the Same Time Impossible?

Collapse
 
iampeterbanjo profile image
Peter Banjo

I really would like to use this solution but I don't see enough information in the code snippets to apply to my specific problem which already includes declaration merging. Could you please publish a full example on Github?

Collapse
 
iampeterbanjo profile image
Peter Banjo

I found a solution here github.com/fastify/help/issues/122 any thoughts?

Collapse
 
ethanarrowood profile image
Ethan Arrowood

You can see a much more verbose example in the fastify type definitions on the master branch. github.com/fastify/fastify/blob/ma...