Type alias SANEEnum<E, TE>Private

SANEEnum<E, TE>: E & {
    asString: ((value) => string);
}

Type for enums provided by the core SANE Emscripten module.

Type Parameters

  • E

  • TE

Type declaration

  • asString: ((value) => string)
      • (value): string
      • Parameters

        • value: TE

        Returns string

        Deprecated

        Use reverse map already built into TS enums.

Deprecated

Generated using TypeDoc