import { Block , createBlock } from './block' ; type CommentBlock = Block & { type : 'comment' ; } ; function createCommentBlock ( block ? ) { return { ... createBlock ( block ) , type : 'comment' , } ; } export { CommentBlock , createCommentBlock } ;