fix(richtext-lexical): export types as type-only exports (#7097)
This commit is contained in:
@@ -973,14 +973,14 @@ export {
|
||||
} from './lexical/utils/nodeFormat.js'
|
||||
export { sanitizeUrl, validateUrl } from './lexical/utils/url.js'
|
||||
|
||||
export type * from './nodeTypes.js'
|
||||
|
||||
export { defaultRichTextValue } from './populateGraphQL/defaultValue.js'
|
||||
|
||||
export type { LexicalEditorProps, LexicalRichTextAdapter } from './types.js'
|
||||
|
||||
export { createServerFeature } from './utilities/createServerFeature.js'
|
||||
export { migrateSlateToLexical } from './utilities/migrateSlateToLexical/index.js'
|
||||
export { upgradeLexicalData } from './utilities/upgradeLexicalData/index.js'
|
||||
|
||||
export * from './nodeTypes.js'
|
||||
|
||||
export type { FieldsDrawerProps } from './utilities/fieldsDrawer/Drawer.js'
|
||||
|
||||
export { migrateSlateToLexical } from './utilities/migrateSlateToLexical/index.js'
|
||||
|
||||
export { upgradeLexicalData } from './utilities/upgradeLexicalData/index.js'
|
||||
|
||||
@@ -15,7 +15,7 @@ import type { SerializedListItemNode, SerializedListNode } from './features/list
|
||||
import type { SerializedRelationshipNode } from './features/relationship/nodes/RelationshipNode.js'
|
||||
import type { SerializedUploadNode } from './features/upload/nodes/UploadNode.js'
|
||||
|
||||
export {
|
||||
export type {
|
||||
SerializedAutoLinkNode,
|
||||
SerializedBlockNode,
|
||||
SerializedHeadingNode,
|
||||
|
||||
Reference in New Issue
Block a user