Skip to content
This repository has been archived by the owner on Feb 2, 2023. It is now read-only.

Commit

Permalink
fix(material): export ICON_TYPE as const enum to prevent ngcc failures
Browse files Browse the repository at this point in the history
  • Loading branch information
klemenoslaj committed Apr 6, 2021
1 parent 7e94a58 commit 24f7520
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion projects/material/src/lib/action-icon-type-token.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { InjectionToken } from '@angular/core';

export enum ICON_TYPE {
export const enum ICON_TYPE {
Font,
Svg,
}
Expand Down
3 changes: 1 addition & 2 deletions projects/material/src/lib/action-mat.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,7 @@ import { RouterModule } from '@angular/router';
ActionMatButtonDirective,
ActionMatAnchorComponent,
],
entryComponents: [ActionMatButtonComponent, ActionMatGroupComponent],
exports: [ActionMatButtonComponent, ActionMatGroupComponent],
exports: [ActionMatButtonComponent, ActionMatAnchorComponent, ActionMatGroupComponent],
providers: [
{
provide: ActionButton,
Expand Down

0 comments on commit 24f7520

Please sign in to comment.