Type alias OptionOrNullable<T>

OptionOrNullable<T>: Option<T> | Nullable<T>

Defines a looser type that can be used when serializing an Option. This allows us to pass null or the Option value directly whilst still supporting the Option type for use-cases that need more type safety.

Type Parameters

  • T

Generated using TypeDoc