Skip to content

Commit

Permalink
style: fix eslint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
microshine committed Jan 6, 2025
1 parent 70a3785 commit a298c43
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 14 deletions.
2 changes: 1 addition & 1 deletion packages/core/src/objects/Array.spec.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { PDFDocument, XrefStructure } from "../structure";
import { PDFDocument } from "../structure";
import { ViewWriter } from "../ViewWriter";
import { PDFArray } from "./Array";
import { PDFBoolean } from "./Boolean";
Expand Down
14 changes: 2 additions & 12 deletions packages/doc/src/Document.spec.ts
Original file line number Diff line number Diff line change
@@ -1,19 +1,9 @@
import { Crypto } from "@peculiar/webcrypto";
import { X509Certificate } from "@peculiar/x509";
import * as core from "@peculiarventures/pdf-core";
import { PageFilter } from "@peculiarventures/pdf-copy";
import { DefaultFonts } from "@peculiarventures/pdf-font";
import { PdfRenderingHelper } from "@peculiarventures/pdf-tests";
import { Convert } from "pvtsutils";
import * as pkijs from "pkijs";

import {
PDFDocument,
PDFDocumentCreateParameters,
PDFDocumentLoadParameters
} from "./Document";

import { PDFDocument } from "./Document";
import { PDFVersion } from "./Version";
import { CheckBox } from "./forms/CheckBox";
import { SignatureBox } from "./forms/SignatureBox";
import { SignatureBoxGroup } from "./forms/SignatureBox.Group";

Expand Down
2 changes: 1 addition & 1 deletion packages/doc/src/forms/IComponent.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ export interface IComponent {
delete(): void;
}

// eslint-disable-next-line @typescript-eslint/no-explicit-any
export type IComponentConstructor<T extends IComponent> = new (
// eslint-disable-next-line @typescript-eslint/no-explicit-any
target: any,
document: PDFDocument
) => T;

0 comments on commit a298c43

Please sign in to comment.