Skip to content

Commit

Permalink
Merge pull request #3078 from stepancar/refactor/add-dpr-ts-type
Browse files Browse the repository at this point in the history
feat(types): added dpr setting to ts definition
  • Loading branch information
bodymovin authored Mar 26, 2024
2 parents c0b0924 + f5d98ae commit 0d658b3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@ export type CanvasRendererConfig = BaseRendererConfig & {
context?: CanvasRenderingContext2D;
progressiveLoad?: boolean;
preserveAspectRatio?: string;
dpr?: number;
};

export type HTMLRendererConfig = BaseRendererConfig & {
Expand Down

0 comments on commit 0d658b3

Please sign in to comment.