@ncoderz/superenum
Version:
Simple, typesafe enums in TypeScript, fully compatible with standard JavaScript
20 lines (10 loc) • 385 B
Markdown
[**@ncoderz/superenum**](../README.md)
***
[@ncoderz/superenum](../globals.md) / EnumType
# Type Alias: EnumType\<T\>
> **EnumType**\<`T`\> = `T`\[keyof `T`\]
Defined in: [superenum.ts:4](https://github.com/ncoderz/superenum/blob/08c1c2419d89a58d6deeaad343b246571a3c3674/src/superenum.ts#L4)
Create an enum type from an enum like object or array.
## Type Parameters
### T
`T`