mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-02-24 08:44:06 +00:00
[TS] Use strict mode in LLink & Reroute (#602)
- Adds fallback colour if reroute colour is somehow nullish
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user