Interface JSContentCodec<T>

interface JSContentCodec<T> {
    contentType: ContentTypeId;
    decode(encodedContent): T;
    encode(content): EncodedContent;
    fallback(content): undefined | string;
}

Type Parameters

  • T

Properties

Methods

Properties

contentType: ContentTypeId

Methods

Generated using TypeDoc