1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-22 16:18:08 +02:00

Merge pull request #15018 from Snuffleupagus/issue-15016

Expose `TextLayerRenderTask` in the TypeScript definitions (issue 15016, PR 14013 follow-up)
This commit is contained in:
Tim van der Meij 2022-06-10 22:18:35 +02:00 committed by GitHub
commit a57a4bc6c2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 67 additions and 1 deletions

View file

@ -857,4 +857,4 @@ function renderTextLayer(renderParameters) {
return task;
}
export { renderTextLayer };
export { renderTextLayer, TextLayerRenderTask };

View file

@ -19,6 +19,8 @@
/** @typedef {import("./display/api").PDFPageProxy} PDFPageProxy */
/** @typedef {import("./display/api").RenderTask} RenderTask */
/** @typedef {import("./display/display_utils").PageViewport} PageViewport */
// eslint-disable-next-line max-len
/** @typedef {import("./display/text_layer").TextLayerRenderTask} TextLayerRenderTask */
import {
AnnotationEditorType,