Closed gajus closed 7 years ago
I think you need to use typeof
here:
export const DATETIME = 'datetime';
export const DATE = 'date';
export const TIME = 'time';
type TypeMode = typeof DATETIME | typeof DATE | typeof TIME;
Closing in favour of flow-runtime
.
Is giving an error: