who use enum key typescript code example Example: typescript object key as enum let layer: Partial<Record<MyEnum, any>>;