Skip to content

Commit b028a1b

Browse files
committed
fix build
1 parent d15becc commit b028a1b

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

packages/core/src/schema/blocks/types.ts

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -313,11 +313,7 @@ export type PartialBlockNoDefaults<
313313
BSchema extends BlockSchema,
314314
I extends InlineContentSchema,
315315
S extends StyleSchema,
316-
> = PartialBlocksWithoutChildren<
317-
BSchema,
318-
I,
319-
S
320-
>[keyof PartialBlocksWithoutChildren<BSchema, I, S>] &
316+
> = PartialBlocksWithoutChildren<BSchema, I, S>[keyof BSchema] &
321317
Partial<{
322318
children: PartialBlockNoDefaults<BSchema, I, S>[];
323319
}>;

0 commit comments

Comments
 (0)