Skip to content

Type Alias: Encodeable

ts
type Encodeable =
  | EncodeablePrimitive
  | Date
  | RegExp
  | ArrayBuffer
  | DataView
  | DateTime
  | Duration
  | Interval
  | EncodeableTypedArray
  | 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