Skip to content

Commit

Permalink
fix(build): re-export canvas types
Browse files Browse the repository at this point in the history
  • Loading branch information
bostrom committed Sep 30, 2024
1 parent 2fa7637 commit 9e10493
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/types.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
import { Canvas, CanvasGradient, CanvasPattern, CanvasTextAlign } from 'canvas';

export type * from 'canvas';

export type GenerateFunction<T extends GenerateOptions> = (
content: string,
config?: T,
Expand Down

0 comments on commit 9e10493

Please sign in to comment.