mirror of
https://github.com/KevinMidboe/seasoned.git
synced 2026-03-11 03:49:07 +00:00
Resolved all ts lint errors on build
This commit is contained in:
@@ -1,5 +1,12 @@
|
||||
export default interface IErrorMessage {
|
||||
export enum ErrorMessageTypes {
|
||||
Error = "error",
|
||||
Success = "success",
|
||||
Warning = "warning"
|
||||
}
|
||||
|
||||
export interface IErrorMessage {
|
||||
id: string;
|
||||
title: string;
|
||||
message: string;
|
||||
type: "error" | "success" | "warning";
|
||||
type: ErrorMessageTypes;
|
||||
}
|
||||
|
||||
@@ -11,7 +11,7 @@ import type { MediaTypes } from "./IList";
|
||||
// }
|
||||
|
||||
export interface IStatePopup {
|
||||
id: number | null;
|
||||
type: MediaTypes | null;
|
||||
id: number;
|
||||
type: MediaTypes;
|
||||
open: boolean;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user