From 5c008af61686ac5ede5160e9276cecf7b1ad5ab8 Mon Sep 17 00:00:00 2001 From: Andrea Bogazzi Date: Sat, 16 Nov 2024 10:45:59 +0100 Subject: [PATCH 1/3] add missing export --- fabric.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 */ From fc07e0de6c719d4781380418d0bd509141e9f280 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Sat, 16 Nov 2024 09:47:27 +0000 Subject: [PATCH 2/3] update CHANGELOG.md --- CHANGELOG.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8db32d17fab..e0e39d86fd0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,8 @@ ## [next] +- add missing export [#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) From 31f49edbc44f6046624afc90c3926eae91906b9a Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Sat, 16 Nov 2024 10:03:34 +0000 Subject: [PATCH 3/3] update CHANGELOG.md --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e0e39d86fd0..0cfebceac07 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,7 +2,7 @@ ## [next] -- add missing export [#10281](https://github.com/fabricjs/fabric.js/pull/10281) +- fix(TS): Add missing export for type DrawContext [#10281](https://github.com/fabricjs/fabric.js/pull/10281) ## [6.5.0]