import { ContentBlock } from './contentBlock' ; import { Block , createBlock } from './block' ; type CheckboxBlock = ContentBlock & { type : 'checkbox' ; } ; function createCheckboxBlock ( block ? ) { return { ... createBlock ( block ) , type : 'checkbox' , } ; } export { CheckboxBlock , createCheckboxBlock } ;