refactor: improve TypeScript types for NodeCardProps and debug configuration context (#27001)
This commit is contained in:
@@ -23,8 +23,10 @@ import {
|
||||
} from '../node-handle'
|
||||
import ErrorHandleOnNode from '../error-handle-on-node'
|
||||
|
||||
type NodeChildElement = ReactElement<Partial<NodeProps>>
|
||||
|
||||
type NodeCardProps = NodeProps & {
|
||||
children?: ReactElement
|
||||
children?: NodeChildElement
|
||||
}
|
||||
|
||||
const BaseCard = ({
|
||||
|
||||
Reference in New Issue
Block a user