interface Serializable<S, T> {
    deserialize(jsonObject: S, sampleRate: number): undefined | T;
    serialize(): S;
}

Type Parameters

  • S
  • T

Implemented by

    Methods

    • Parameters

      • jsonObject: S
      • sampleRate: number

      Returns undefined | T