All Downloads are FREE. Search and download functionalities are using the official Maven repository.

typescript-redux-query.modelEnum.mustache Maven / Gradle / Ivy

/**
 * {{{description}}}
 * @export
 * @enum {string}
 */
export enum {{classname}} {
{{#allowableValues}}
{{#enumVars}}
    {{{name}}} = {{{value}}}{{^-last}},{{/-last}}
{{/enumVars}}
{{/allowableValues}}
}

export function {{classname}}FromJSON(json: any): {{classname}} {
    return json as {{classname}};
}

export function {{classname}}ToJSON(value?: {{classname}}): any {
    return value as any;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy