For packages that don't come with it's own types, next step is to look for @types/<package>
for the package typings. However, if there is a package X
, which is forked to a package Y
. How can we use the same @types/<X>
package for the package Y
?
Edit:
Example: node-bunyan doesn't have types. @types/bunyan exists and provides types. Now, I am trying to use a fork of node-bunyan(@scoop/bunyan) while still being able to utilize types from @types/bunyan.