Make the ServerResponse use the Status enum as the type
This commit is contained in:
parent
c93b903094
commit
005b2c929f
1 changed files with 3 additions and 1 deletions
|
|
@ -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;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue