Skip to content

Type Alias: Serializable

ts
type Serializable =
  | SerializablePrimitive
  | Date
  | RegExp
  | ArrayBuffer
  | DataView
  | DateTime
  | Duration
  | Interval
  | SerializableTypedArray
  | Serializable[]
  | {
      [key: string]: any;
    }
  | Map<Serializable, Serializable>
  | Set<Serializable>
  | Error
  | EvalError
  | RangeError
  | ReferenceError
  | SyntaxError
  | TypeError
  | URIError;

Defines all the types which can be be serialized