Warning The Warning interface represents a warning message. interface Warning { id: number; message: string; } id A unique identifier for the warning message. message The textual description of the warning.