Skip to content

Commit

Permalink
Polyfill Promise.withResolvers
Browse files Browse the repository at this point in the history
  • Loading branch information
williamchong committed Dec 16, 2024
1 parent 3170158 commit fca9b55
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions web/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
// eslint-disable-next-line max-len
/** @typedef {import("../src/display/api.js").PDFDocumentLoadingTask} PDFDocumentLoadingTask */

import "node_modules/core-js/proposals/promise-with-resolvers.js";

Check failure on line 22 in web/app.js

View workflow job for this annotation

GitHub Actions / Lint (lts/*)

Unable to resolve path to module 'node_modules/core-js/proposals/promise-with-resolvers.js'
import {
animationStarted,
apiPageLayoutToViewerModes,
Expand Down

0 comments on commit fca9b55

Please sign in to comment.