UNPKG

@ahryman40k/ts-fhir-types

Version:

Typescript / Javascript object model for FHIR standard Model follows FHIR R4 specifications.

8 lines (7 loc) 276 B
import * as t from 'io-ts'; export declare class EnumType<A> extends t.Type<A> { readonly _tag: 'EnumType'; enumObject: object; constructor(e: object, name?: string); } export declare const createEnumType: <T>(e: object, name?: string | undefined) => EnumType<T>;