We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
DateTimeFormat
In impl.esm.js, we export DateTimeFormat, Temporal, and toTemporalInstant:
impl.esm.js
Temporal
toTemporalInstant
But in index.d.ts, we re-export from temporal-spec
index.d.ts
temporal-spec
which exports Temporal, Intl, and toTemporalInstant
Intl
So according to the types, we should be using Intl.DateTimeFormat and not DateTimeFormat which is not accurate
Intl.DateTimeFormat
The text was updated successfully, but these errors were encountered:
You are very right. I'll fix this for the next release.
Sorry, something went wrong.
This has been fixed and released in v0.2.2. Thank you for the report.
No branches or pull requests
In
impl.esm.js
, we exportDateTimeFormat
,Temporal
, andtoTemporalInstant
:But in
index.d.ts
, we re-export fromtemporal-spec
which exports
Temporal
,Intl
, andtoTemporalInstant
So according to the types, we should be using
Intl.DateTimeFormat
and notDateTimeFormat
which is not accurateThe text was updated successfully, but these errors were encountered: