Skip to content

Commit b60212a

Browse files
authored
fix(super-editor): re-export ContentControlViewportAddress and ViewportEntityAddress (SD-3156) (#3316)
The public `superdoc/ui` barrel (`packages/superdoc/src/ui.d.ts`) imports both names from `@superdoc/super-editor/ui`, but they were missing from `packages/super-editor/src/ui/index.ts`. The existing `ui.barrel.test.ts` only string-scans the barrel file, so it didn't catch the upstream gap. CI's consumer-typecheck matrix (`bundler | node16 | nodenext` with `skipLibCheck=false`) was failing with TS2305 on both names since #3310 landed.
1 parent 781748e commit b60212a

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

packages/super-editor/src/ui/index.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,8 +124,10 @@ export type {
124124
TrackChangesSlice,
125125

126126
// Viewport
127+
ContentControlViewportAddress,
127128
ViewportContext,
128129
ViewportContextAtInput,
130+
ViewportEntityAddress,
129131
ViewportEntityAtInput,
130132
ViewportEntityHit,
131133
ViewportGetRectInput,

0 commit comments

Comments
 (0)