Closed marzzy closed 1 year ago
As you can see in this Codesand example, I try to use the modular import in a typescript project, it works, but cause the error below:
Cannot find module 'underscore/modules/map' or its corresponding type declarations.ts
Closing in favor of https://github.com/jashkenas/underscore/issues/2975, because this is about core Underscore (or its corresponding DefinitelyTyped package).
As you can see in this Codesand example, I try to use the modular import in a typescript project, it works, but cause the error below:
Cannot find module 'underscore/modules/map' or its corresponding type declarations.ts