Skip to content

Commit

Permalink
fix(@formatjs/intl): support isolatedModules (#2602)
Browse files Browse the repository at this point in the history
Fix "Cannot access ambient const enums when the '--isolatedModules' flag is provided.ts(2748)"
  • Loading branch information
jimisaacs committed Feb 13, 2021
1 parent 2155e8b commit b7284f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/intl/src/error.ts
@@ -1,6 +1,6 @@
import {MessageDescriptor} from './types';

export const enum IntlErrorCode {
export enum IntlErrorCode {
FORMAT_ERROR = 'FORMAT_ERROR',
UNSUPPORTED_FORMATTER = 'UNSUPPORTED_FORMATTER',
INVALID_CONFIG = 'INVALID_CONFIG',
Expand Down

0 comments on commit b7284f4

Please sign in to comment.