Skip to content

tiptap extensionの型のre-exportでmodule augmentationを伝播させる#32

Merged
kujilab765 merged 3 commits intomainfrom
feature/31
Feb 10, 2026
Merged

tiptap extensionの型のre-exportでmodule augmentationを伝播させる#32
kujilab765 merged 3 commits intomainfrom
feature/31

Conversation

@y-meguro
Copy link
Collaborator

@y-meguro y-meguro commented Feb 10, 2026

概要

src/index.ts で各 tiptap extension の各パッケージから Options 型を re-export し、consumer が tiptap extension の module augmentation(editor.chain().toggleBold() 等の型)を利用できるようにする。

関連するtsupのissue

以下が修正されれば、現在の対応は不要になる可能性あり

@y-meguro
Copy link
Collaborator Author

@kujilab765 こちらレビューお願いします!

@kujilab765 kujilab765 merged commit b7dabb5 into main Feb 10, 2026
1 check passed
@kujilab765 kujilab765 deleted the feature/31 branch February 10, 2026 08:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

tiptap extensionのmodule augmentationがconsumerに伝播しない

2 participants