File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
packages/core/src/schema/blocks Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -201,7 +201,7 @@ export type BlockFromConfigNoChildren<
201
201
? TableContent < I , S >
202
202
: B [ "content" ] extends "none"
203
203
? undefined
204
- : never ;
204
+ : undefined | never ;
205
205
} ;
206
206
207
207
export type BlockFromConfig <
@@ -283,7 +283,7 @@ type PartialBlockFromConfigNoChildren<
283
283
? PartialInlineContent < I , S >
284
284
: B [ "content" ] extends "table"
285
285
? PartialTableContent < I , S >
286
- : undefined ;
286
+ : undefined | never ;
287
287
} ;
288
288
289
289
type PartialBlocksWithoutChildren <
@@ -405,9 +405,9 @@ export type BlockDefinition<
405
405
> = {
406
406
config : BlockConfig < TName , TProps , TContent > ;
407
407
implementation : BlockImplementation <
408
- NoInfer < TName > ,
409
- NoInfer < TProps > ,
410
- TContent
408
+ string ,
409
+ PropSchema ,
410
+ "inline" | "none" | "table"
411
411
> ;
412
412
extensions ?: BlockNoteExtension < any > [ ] ;
413
413
} ;
You can’t perform that action at this time.
0 commit comments