sindresorhus / is

Type check values

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

v5.4.0 "Cannot find module '@sindresorhus/is' or its corresponding type declarations"

Kamahl19 opened this issue · comments

After upgrading to 5.4.0 I am getting "Cannot find module '@sindresorhus/is' or its corresponding type declarations"

The same issue here, didn't happen on 5.3.0

The problem is your TypeScript config. Make sure you'are on TS 5 or later and use this config: https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c#how-can-i-make-my-typescript-project-output-esm

Thank you very much