Skip to content

Commit 50b1c34

Browse files
authored
Fix import in README. (#65)
1 parent 66fdc76 commit 50b1c34

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

README.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,13 @@ This polyfill is compatible with Node.js 14 or later.
1616
* [x] Fork non-production polyfill from [tc39/proposal-temporal repo](https://github.com/tc39/proposal-temporal/tree/main/polyfill)
1717
* [x] Release initial pre-alpha to NPM at [@js-temporal/polyfill](https://www.npmjs.com/package/@js-temporal/polyfill)
1818
* [x] Sync the code in this repo with the handful of polyfill changes that have recently been made in the [tc39/proposal-temporal](https://github.com/tc39/proposal-temporal) repo
19-
* [x] Release alpha version to NPM
19+
* [x] Release alpha version to NPM
2020
* [x] Deprecate all other earlier Temporal polyfills
2121
* [x] Optimize slow operations by reducing calls to Intl.DateTimeFormat constructor (see #7, #8, #10, #12)
22-
* [ ] Convert to TypeScript for better maintainability
23-
* [ ] (maybe) Optimize performance of other slow operations
22+
* [x] Convert to TypeScript for better maintainability
23+
* [x] Improve typing of sources for better maintainability
24+
* [ ] Migrate to JSBI for improved compile-time safety around BigInt operations.
25+
* [ ] Optimize performance of other slow operations
2426
* [ ] Release production version to NPM
2527

2628
## Bug Reports and Feedback
@@ -58,7 +60,7 @@ Date.prototype.toTemporalInstant = toTemporalInstant;
5860
Import the polyfill as an ES6 module:
5961

6062
```javascript
61-
import { Temporal, Intl, toTemporalInstant } from '@js-temporal/polyfill/lib/index.mjs';
63+
import { Temporal, Intl, toTemporalInstant } from '@js-temporal/polyfill';
6264
Date.prototype.toTemporalInstant = toTemporalInstant;
6365
```
6466

0 commit comments

Comments
 (0)