[TS] Use strict mode in LGraphCanvas (#664)

- Prefer `undefined` over `null`
- Primarily nullable type updates
This commit is contained in:
filtered
2025-03-02 08:58:50 +11:00
committed by GitHub
parent ab25d1fc6e
commit 539fa91b0d
4 changed files with 23 additions and 20 deletions

View File

@@ -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 {