DEV Community

Discussion on: Advanced TypeScript series. Would you be interested?

Collapse
 
ac37s profile image
e1cb4 ac37s

There is package 'foo' which has '@types/foo' and the latter is used in project. The latter has some types/interfaces declared wrong (not fully typed or actually wrong). How to extend or rewrite those fishy places in local types not abandoning all other parts of original "@types..."?