UNPKG

houdunren-vue

Version:

后盾人前端脚手架

15 lines (12 loc) 282 B
import { SlateDescendant, SlateElement, SlateText } from '@wangeditor/editor' declare module '@wangeditor/editor' { // 扩展 Text interface SlateText { text: string } // 扩展 Element interface SlateElement { type: string children: SlateDescendant[] } }