Fix
All checks were successful
Lint / lint (push) Successful in 14s

This commit is contained in:
Julien Valverdé
2025-06-17 23:01:26 +02:00
parent 0b7a2dbe92
commit 7013bed037
2 changed files with 10 additions and 8 deletions

View File

@@ -4,15 +4,16 @@ import { createFileRoute } from "@tanstack/react-router"
import { GetRandomValues, makeUuid4 } from "@typed/id"
import { Console, Effect, Option } from "effect"
import { useEffect, useState } from "react"
import { PropertyPath } from "reffuse/types"
interface Node {
readonly value: string
readonly left?: Node
readonly right?: Node
value: string
left?: Leaf
right?: Leaf
}
interface Leaf {
node: Node
}
type NodePaths = PropertyPath.Paths<Node>
const makeUuid = Effect.provide(makeUuid4, GetRandomValues.CryptoRandom)