Skip to content

Commit

Permalink
Forgot null
Browse files Browse the repository at this point in the history
  • Loading branch information
ChiriVulpes committed Dec 28, 2024
1 parent 1995bf7 commit 80b613a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ui/component/core/Slot.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import type { UnsubscribeState } from "utility/State"
import State from "utility/State"

export type SlotCleanup = () => any
export type SlotInitialiserReturn = SlotCleanup | Component | undefined | false | 0 | "" | void
export type SlotInitialiserReturn = SlotCleanup | Component | undefined | null | false | 0 | "" | void

interface SlotExtensions {
use<T> (state: State<T>, initialiser: (slot: Slot, value: T) => SlotInitialiserReturn): this
Expand Down

0 comments on commit 80b613a

Please sign in to comment.