export const files = ['a', 'b', 'c']
export type File = 'a' | 'b' | 'c'
How do I declare this File type without repeating the values like 'a', 'b', 'c'.
export const files = ['a', 'b', 'c']
export type File = 'a' | 'b' | 'c'
How do I declare this File type without repeating the values like 'a', 'b', 'c'.