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:
commit
a57a4bc6c2
5 changed files with 67 additions and 1 deletions
|
@ -857,4 +857,4 @@ function renderTextLayer(renderParameters) {
|
|||
return task;
|
||||
}
|
||||
|
||||
export { renderTextLayer };
|
||||
export { renderTextLayer, TextLayerRenderTask };
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue