mirror of
https://github.com/mozilla/pdf.js.git
synced 2026-05-31 07:11:00 +02:00
This is a major version bump containing two breaking changes for us: - the `baseUrl` option is removed; - the `moduleResolution` option doesn't support `node10` (or the `node` alias) anymore. The migration guide at https://github.com/microsoft/TypeScript/issues/62508 indicates that we can remove `baseUrl` and change `moduleResolution` to `bundler` (the latter is consistent with what other projects do that are linked to the issue, and more details on that configuration option can be found at https://www.typescriptlang.org/tsconfig/#moduleResolution). Note that this is enough to get `npx gulp typestest` green and that is all validation we can do on our side, so as usual if any follow-up fixes for types are necessary we rely on the community to provide patches and extend the types test where possible to improve validation.