src/app/shared/alerts/alert.ts
No results matching.
Properties |
| closed |
closed:
|
Type : boolean
|
|
Defined in src/app/shared/alerts/alert.ts:5
|
| err |
err:
|
Type : any
|
| Optional |
|
Defined in src/app/shared/alerts/alert.ts:4
|
| message |
message:
|
Type : string
|
|
Defined in src/app/shared/alerts/alert.ts:3
|
| type |
type:
|
Type : string
|
|
Defined in src/app/shared/alerts/alert.ts:2
|
interface AlertInterface {
type: string
message: string
err?: any
closed: boolean
}
export class Alert implements AlertInterface {
public type: string
public message: string
public err: any
public closed: boolean
constructor(type: string, message: string, err?: any) {
this.type = type
this.message = message
this.err = err
this.closed = false
}
}