Skip to content

Commit

Permalink
ci: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
iola1999 committed Nov 25, 2024
1 parent 61973dd commit 5ff930a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions js-binding.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
/* auto-generated by NAPI-RS */

export function renderAsync(svg: string | Buffer, options?: string | undefined | null, signal?: AbortSignal | undefined | null): Promise<RenderedImage>
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
Expand Down Expand Up @@ -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 */
Expand Down

0 comments on commit 5ff930a

Please sign in to comment.