diff --git a/types/intercom-client/IntercomError.d.ts b/types/intercom-client/IntercomError.d.ts index 44482e4e03..c0ed687a3c 100644 --- a/types/intercom-client/IntercomError.d.ts +++ b/types/intercom-client/IntercomError.d.ts @@ -2,15 +2,13 @@ export interface IntercomError { statusCode: number, body: { - type: "error.list", - request_id: string, - errors: [ - { - code: string, //"400", - message: string - } - ] + type: "error.list", + request_id: string, + errors: Array<{ + code: string, //"400", + message: string + }> }, - headers: { status: string } & {[k: string]: string} + headers: { status: string } & { [k: string]: string } }