diff --git a/package.json b/package.json index fcb2383..bb91196 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "react-teamspeak-remote-app-api-types", - "version": "1.1.1", + "version": "1.1.2", "description": "Types for the TeamSpeak 5/6 Remote App API", "license": "ISC", "type": "commonjs", diff --git a/src/types/entities.ts b/src/types/entities.ts index a65efa5..03188ef 100644 --- a/src/types/entities.ts +++ b/src/types/entities.ts @@ -238,10 +238,12 @@ export interface IConnectionStatus { connectionId: number; error: string; hotReload: boolean; - info?: { - clientId: number; - serverName: string; - serverUid: string; - } + info?: IConnectionStatusInfo; status: number; +} + +export interface IConnectionStatusInfo { + clientId: number; + serverName: string; + serverUid: string; } \ No newline at end of file