diff --git a/js-binding.d.ts b/js-binding.d.ts index 2f89e79..c51bd16 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 */