timezone-support
timezone-support copied to clipboard
Typings not picked when using ESM
When using "module": "node16" TypeScript is unable to find the typings for the package.
Could not find a declaration file for module 'timezone-support'. 'foo/node_modules/timezone-support/dist/index.mjs' implicitly has an 'any' type.
Since the file imported is dist/index.mjs, TypeScript looks for a dist/index.d.mts file which doesn't exist.