From 5ff930a034b36cde51d1489b70e1b568c02c9c2f Mon Sep 17 00:00:00 2001 From: iola1999 Date: Mon, 25 Nov 2024 16:36:08 +0800 Subject: [PATCH] ci: lint --- js-binding.d.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/js-binding.d.ts b/js-binding.d.ts index 2f89e792..c51bd166 100644 --- a/js-binding.d.ts +++ b/js-binding.d.ts @@ -4,13 +4,13 @@ /* auto-generated by NAPI-RS */ export function renderAsync(svg: string | Buffer, options?: string | undefined | null, signal?: AbortSignal | undefined | null): Promise -export declare class BBox { +export class BBox { x: number y: number width: number height: number } -export declare class Resvg { +export class Resvg { constructor(svg: string | Buffer, options?: string | undefined | null) /** Renders an SVG in Node.js */ render(): RenderedImage @@ -40,7 +40,7 @@ export declare class Resvg { /** Get the SVG height */ get height(): number } -export declare class RenderedImage { +export class RenderedImage { /** Write the image data to Buffer */ asPng(): Buffer /** Get the RGBA pixels of the image */