iamkun / iamkun/dayjs

Dayjs 2.0 types incorrect for moduleResolution: node16 / nodenext

Open
#2,106 0 comments 2 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
48.7k
Forks
2.5k
PR merge metrics
No merged PRs in 30d

Description

**Describe the bug**
A clear and concise description of what the bug is.

DayJS 2.0 alpha types do not support [Node16/NodeNext moduleResolution](https://devblogs.microsoft.com/typescript/announcing-typescript-4-7/#esm-nodejs)
image

**Expected behavior**
Types should work :)

**Information**
- Day.js Version: v2.0.0-alpha.4

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.