Skip to content

Commit

Permalink
fiddling
Browse files Browse the repository at this point in the history
  • Loading branch information
pauldambra committed Sep 12, 2023
1 parent 76b1a31 commit b6c5c60
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions frontend/src/scenes/notebooks/Notebook/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ export const textContent = (node: any): string => {
return serializedText
}

// we want the type system to complain if we forget to add a custom serializer
const customNodeTextSerializers: Record<NotebookNodeType, TextSerializer> = {
'ph-backlink': customOrTitleSerializer,
'ph-early-access-feature': customOrTitleSerializer,
Expand Down

0 comments on commit b6c5c60

Please sign in to comment.