Closed stuft2 closed 1 year ago
Type definition resolution isn't working for me when importing cross-fetch/polyfill. Adding the types property to the package.json file resolves this issue.
types
import 'cross-fetch/polyfill' // error TS2304: Cannot find name 'Request'.
@stuft2 thanks for the PR!
Type definition resolution isn't working for me when importing cross-fetch/polyfill. Adding the
types
property to the package.json file resolves this issue.