mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-26 10:08:06 +02:00
Add a (basic) TypeScript definitions for the viewer components (issue 13267)
Please note that while the `gulp types`/`gulp typestest` tasks (obviously) still work with this patch, I've got no idea if the output is first of all even useable and secondly if it's actually useful in practice. However, in the interest of closing some (seemingly simple) issues, I suppose that this probably shouldn't hurt (and we'd need TypeScript users to help improve things here).
This commit is contained in:
parent
248efb16a7
commit
fdf2c59b8f
4 changed files with 8 additions and 3 deletions
1
external/dist/legacy/web/pdf_viewer.d.ts
vendored
Normal file
1
external/dist/legacy/web/pdf_viewer.d.ts
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
export * from "pdfjs-dist/types/web/pdf_viewer.component.d.ts";
|
Loading…
Add table
Add a link
Reference in a new issue