Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 | 2x 5x 5x 1x 1x |
function strEnum<T extends string>(o: Array<T>): {[K in T]: K} {
return o.reduce((res, key) => {
res[key] = key;
return res;
}, Object.create(null));
}
export const InternalEvents = strEnum(['load', 'init', 'config']);
export type InternalEvents = keyof typeof InternalEvents;
export const InternalLayers = strEnum(['globalConfig', 'modules']);
export type InternalLayers = keyof typeof InternalLayers;
|