diff --git a/CHANGELOG.md b/CHANGELOG.md index 8db32d17fab..0cfebceac07 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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) diff --git a/fabric.ts b/fabric.ts index b0ac64e9ebb..8f5a08785b5 100644 --- a/fabric.ts +++ b/fabric.ts @@ -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 */