Skip to content

Commit

Permalink
fix(types): add type declaration for Paragraph node
Browse files Browse the repository at this point in the history
`createCustomEditor.ts` test script imports `Paragraph`
and `tsc` complains without type definitions.

Signed-off-by: Max <max@nextcloud.com>
  • Loading branch information
max-nextcloud committed Oct 14, 2024
1 parent e8960cb commit 69b86e5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/nodes/Paragraph.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
import type { Node } from '@tiptap/core'

declare const Paragraph: Node
export default Paragraph
File renamed without changes.

0 comments on commit 69b86e5

Please sign in to comment.