UNPKG

@ncoderz/superenum

Version:

Simple, typesafe enums in TypeScript, fully compatible with standard JavaScript

22 lines (11 loc) 589 B
[**@ncoderz/superenum**](../README.md) *** [@ncoderz/superenum](../globals.md) / FromValueOptions # Interface: FromValueOptions Defined in: [superenum.ts:9](https://github.com/ncoderz/superenum/blob/08c1c2419d89a58d6deeaad343b246571a3c3674/src/superenum.ts#L9) Options for the [Superenum.fromValue](Superenum.md#fromvalue) function ## Properties ### ignoreCase? > `optional` **ignoreCase**: `boolean` Defined in: [superenum.ts:13](https://github.com/ncoderz/superenum/blob/08c1c2419d89a58d6deeaad343b246571a3c3674/src/superenum.ts#L13) Ignore case when validating the enum value