mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-04-25 08:49:36 +00:00
[TS] Use strict mode in LGraphCanvas (#664)
- Prefer `undefined` over `null` - Primarily nullable type updates
This commit is contained in:
@@ -136,9 +136,9 @@ export interface LinkSegment {
|
||||
|
||||
export interface IInputOrOutput {
|
||||
// If an input, this will be defined
|
||||
input?: INodeInputSlot
|
||||
input?: INodeInputSlot | null
|
||||
// If an output, this will be defined
|
||||
output?: INodeOutputSlot
|
||||
output?: INodeOutputSlot | null
|
||||
}
|
||||
|
||||
export interface IFoundSlot extends IInputOrOutput {
|
||||
|
||||
Reference in New Issue
Block a user