-
-
Notifications
You must be signed in to change notification settings - Fork 54
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bug: Types are not found wth nodenext
module resolution
#168
Comments
nodenext
module resolution
Hmm, interesting! Will have a look at that later, which version of typescript do you use? |
Wow, thanks for the quick reply! |
Found some pointers here, microsoft/TypeScript#50466 Will fix this asap 👍 |
@bramvbilsen Trying to set up a test environment to reproduce this behavior. Do you have |
@Hexagon No the |
Oh, i see. Seems like croner need to export separate type definitions for commonjs ( |
@bramvbilsen Proposed fix released in Please test by
|
nodenext
module resolutionnodenext
module resolution
Released in |
My apologies for the late reply. Version |
The types for
croner
are not being found in my Typescript application. I installed the package as follows:The specific errors:
I made sure to include all node_modules paths for types in my
tsconfig.json
file:The issue appears to be with
moduleResolution
beingnodenext
. The import does not show any errors if I switch it to usenode
. But, unfortunately, this breaks compatibility for other packages and is not an option.Any ideas?
The text was updated successfully, but these errors were encountered: