Skip to content

Commit

Permalink
fix(TS): Add missing export for type DrawContext (#10281)
Browse files Browse the repository at this point in the history
  • Loading branch information
asturur authored Nov 16, 2024
1 parent 5c37e40 commit 4193fe2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

## [next]

- fix(TS): Add missing export for type DrawContext [#10281](https://github.com/fabricjs/fabric.js/pull/10281)

## [6.5.0]

- fix(Canvas): Holding down Shift to select multiple shapes unexpectedly triggers the text exit event. [#10228](https://github.com/fabricjs/fabric.js/issues/10228)
Expand Down
5 changes: 4 additions & 1 deletion fabric.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,10 @@ export {
/**
* Exported so we can tweak default values
*/
export { FabricObject as BaseFabricObject } from './src/shapes/Object/Object';
export {
FabricObject as BaseFabricObject,
type DrawContext,
} from './src/shapes/Object/Object';
/**
* Exported so we can tweak default values
*/
Expand Down

0 comments on commit 4193fe2

Please sign in to comment.