From 005b2c929ff83011d959f8f780fcf93c19373885 Mon Sep 17 00:00:00 2001 From: Oliver-Akins Date: Wed, 5 Jan 2022 01:25:49 -0700 Subject: [PATCH] Make the ServerResponse use the Status enum as the type --- common/src/types/ServerResponse.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/common/src/types/ServerResponse.ts b/common/src/types/ServerResponse.ts index 90cdc63..6f8db1a 100644 --- a/common/src/types/ServerResponse.ts +++ b/common/src/types/ServerResponse.ts @@ -1,7 +1,9 @@ +import { Status } from "../enums/Status"; + export interface ServerResponse { /** The state indicator for responses from the server */ - status: number; + status: Status; /** Additional information that is provided by the server */ message?: string;