We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 3c194ec + 061b4d2 commit 332ccb6Copy full SHA for 332ccb6
src/types.ts
@@ -347,7 +347,7 @@ export type BlockValueProp<T> = Extract<BlockValueType, { type: T }>;
347
export interface CustomBlockComponentProps<T extends BlockValueTypeKeys> {
348
renderComponent: () => JSX.Element | null;
349
blockMap: BlockMapType;
350
- blockValue: T extends BlockValueType ? BlockValueProp<T> : BaseValueType;
+ blockValue: T extends BlockValueTypeKeys ? BlockValueProp<T> : BaseValueType;
351
level: number;
352
}
353
0 commit comments