mirror of
https://github.com/shrekbytes/advanced-pdf-export.git
synced 2026-07-22 07:25:03 +00:00
Revert "refactor: remove unnecessary type assertion"
This reverts commit 33d3c460c5.
This commit is contained in:
parent
33d3c460c5
commit
febf4d4773
1 changed files with 1 additions and 1 deletions
2
main.ts
2
main.ts
|
|
@ -1115,7 +1115,7 @@ function getMathJaxCSS(): string {
|
|||
|
||||
let adoptedCSS = "";
|
||||
try {
|
||||
const sheets = activeDocument.adoptedStyleSheets ?? [];
|
||||
const sheets = (activeDocument as Document).adoptedStyleSheets ?? [];
|
||||
adoptedCSS = sheets
|
||||
.map((sheet) => {
|
||||
try {
|
||||
|
|
|
|||
Loading…
Reference in a new issue