accept optional api response data

This commit is contained in:
waltem01 2024-02-22 10:37:00 +01:00
parent d23c4b0fef
commit a92193f33b

View File

@ -1,4 +1,5 @@
// Interface to represent a response from the matrix API server // Interface to represent a response from the matrix API server
export interface APIResponse { export interface APIResponse {
success: boolean; success: boolean;
results?: Array<unknown>;
} }