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

Loading…
Cancel
Save