Closed
Description
The follow enum (present in RxJS):
export enum NotificationKind {
NEXT = 'N',
ERROR = 'E',
COMPLETE = 'C',
}
Is transpiled by TS 3.5 to:
export var NotificationKind;
(function (NotificationKind) {
NotificationKind["NEXT"] = "N";
NotificationKind["ERROR"] = "E";
NotificationKind["COMPLETE"] = "C";
})(NotificationKind || (NotificationKind = {}));
Running it through Build Optimizer leaves it unaltered, but it should be wrapped by https://github.com/angular/angular-cli/blob/master/packages/angular_devkit/build_optimizer/src/transforms/wrap-enums.ts.