mirror of
https://github.com/ae-utbm/sith.git
synced 2026-07-17 12:06:57 +00:00
adapt typescript to strict mode
This commit is contained in:
@@ -5,9 +5,9 @@ interface AlertParams {
|
||||
|
||||
export class AlertMessage {
|
||||
public open: boolean;
|
||||
public success: boolean;
|
||||
public success!: boolean;
|
||||
public content: string;
|
||||
private timeoutId?: number;
|
||||
private timeoutId: number | null;
|
||||
private readonly defaultDuration: number;
|
||||
|
||||
constructor(params?: { defaultDuration: number }) {
|
||||
|
||||
Reference in New Issue
Block a user