Make the ServerResponse use the Status enum as the type

This commit is contained in:
Oliver-Akins 2022-01-05 01:25:49 -07:00
parent c93b903094
commit 005b2c929f

View file

@ -1,7 +1,9 @@
import { Status } from "../enums/Status";
export interface ServerResponse { export interface ServerResponse {
/** The state indicator for responses from the server */ /** The state indicator for responses from the server */
status: number; status: Status;
/** Additional information that is provided by the server */ /** Additional information that is provided by the server */
message?: string; message?: string;