[TS] Use strict mode in LLink & Reroute (#602)

- Adds fallback colour if reroute colour is somehow nullish
This commit is contained in:
filtered
2025-02-26 05:00:33 +11:00
committed by GitHub
parent 4636367de2
commit f39e1d96e8
4 changed files with 27 additions and 18 deletions

View File

@@ -128,9 +128,9 @@ export interface LinkSegment {
_centreAngle?: number
/** Output node ID */
readonly origin_id: NodeId
readonly origin_id: NodeId | undefined
/** Output slot index */
readonly origin_slot: number
readonly origin_slot: number | undefined
}
export interface IInputOrOutput {