Skip to content

Commit 2f4902b

Browse files
authored
Merge pull request #34 from plaidev/feature/31-2
tiptap/markdownの型のre-exportでmodule augmentationを伝播させる
2 parents d728074 + 72fa6d1 commit 2f4902b

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.changeset/mighty-worlds-cover.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@craft-cross-cms/rich-text-core': patch
3+
---
4+
5+
Re-export `MarkdownExtensionOptions` and `MarkdownExtensionStorage` types from `@tiptap/markdown` to propagate its module augmentation to consumers.

packages/rich-text-core/src/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ export type { TableKitOptions } from '@tiptap/extension-table';
2323
export type { TextAlignOptions } from '@tiptap/extension-text-align';
2424
export type { UnderlineOptions } from '@tiptap/extension-underline';
2525
export type { CharacterCountOptions, CharacterCountStorage } from '@tiptap/extensions';
26+
export type { MarkdownExtensionOptions, MarkdownExtensionStorage } from '@tiptap/markdown';
2627

2728
// Extensions
2829
export {

0 commit comments

Comments
 (0)