If you use this code, that error still occurred?
export type EnvironmentTypes {
Development: string,
Production: string,
Test: string,
}
export const Environment: EnvironmentTypes {
Development: 'development',
Production: 'production',
Test: 'test',
}