Browse Source

fix: convert type to interface because of lint err

pull/7146/head
bnymncoskuner 6 years ago
parent
commit
76bc3978fc
  1. 4
      npm/ng-packs/packages/theme-shared/src/lib/services/page-alert.service.ts

4
npm/ng-packs/packages/theme-shared/src/lib/services/page-alert.service.ts

@ -1,14 +1,14 @@
import { Injectable } from '@angular/core';
import { InternalStore } from '@abp/ng.core';
export type PageAlert = {
export interface PageAlert {
type: 'primary' | 'secondary' | 'success' | 'danger' | 'warning' | 'info' | 'light' | 'dark';
message: string;
dismissible?: boolean;
title?: string;
messageLocalizationParams?: string[];
titleLocalizationParams?: string[];
};
}
@Injectable({ providedIn: 'root' })
export class PageAlertService {

Loading…
Cancel
Save