chore(templates): remove now unnecessary ts-ignore from lexical serializer (#8332)

This commit is contained in:
Alessio Gravili
2024-09-20 11:21:43 -04:00
committed by GitHub
parent 265d7fa0e2
commit d3b982f38d

View File

@@ -21,7 +21,6 @@ import type { Page } from '@/payload-types'
export type NodeTypes = export type NodeTypes =
| DefaultNodeTypes | DefaultNodeTypes
| SerializedBlockNode< | SerializedBlockNode<
// @ts-ignore // TODO: Fix this
| Extract<Page['layout'][0], { blockType: 'cta' }> | Extract<Page['layout'][0], { blockType: 'cta' }>
| Extract<Page['layout'][0], { blockType: 'mediaBlock' }> | Extract<Page['layout'][0], { blockType: 'mediaBlock' }>
| BannerBlockProps | BannerBlockProps