chore(core): add missing generic for output node
This commit is contained in:
@@ -4,7 +4,7 @@ import Handle from '../Handle/Handle.vue'
|
|||||||
import type { NodeProps } from '../../types'
|
import type { NodeProps } from '../../types'
|
||||||
import { Position } from '../../types'
|
import { Position } from '../../types'
|
||||||
|
|
||||||
const OutputNode: FunctionalComponent<NodeProps> = function ({
|
const OutputNode: FunctionalComponent<NodeProps<{ label: any }>> = function ({
|
||||||
targetPosition = Position.Top,
|
targetPosition = Position.Top,
|
||||||
label: _label,
|
label: _label,
|
||||||
connectable = true,
|
connectable = true,
|
||||||
|
|||||||
Reference in New Issue
Block a user