chore: more general type required
This commit is contained in:
@@ -70,7 +70,7 @@ export default function TriggerNode(props: NodeProps<TriggerNode>) {
|
|||||||
* @param node The Node Properties of this node.
|
* @param node The Node Properties of this node.
|
||||||
* @param nodes all the nodes in the graph.
|
* @param nodes all the nodes in the graph.
|
||||||
*/
|
*/
|
||||||
export function TriggerReduce(node: TriggerNode, nodes: Node[]) {
|
export function TriggerReduce(node: Node, nodes: Node[]) {
|
||||||
// Replace this for nodes functionality
|
// Replace this for nodes functionality
|
||||||
if (nodes.length <= -1) {
|
if (nodes.length <= -1) {
|
||||||
console.warn("Impossible nodes length in TriggerReduce")
|
console.warn("Impossible nodes length in TriggerReduce")
|
||||||
|
|||||||
Reference in New Issue
Block a user