mirror of
https://github.com/ueberdosis/tiptap.git
synced 2025-06-10 11:02:47 +08:00
14 lines
305 B
Markdown
14 lines
305 B
Markdown
---
|
|
'@tiptap/core': major
|
|
---
|
|
|
|
`editor.storage` is now strongly typed `Storage` instances, using a similar pattern as commands, where you can define the type of the storage value using namespaces like:
|
|
|
|
```ts
|
|
declare module '@tiptap/core' {
|
|
interface Storage {
|
|
extensionName: StorageValue
|
|
}
|
|
}
|
|
```
|