diff --git a/src/remote/gitlab.ts b/src/remote/gitlab.ts index e4a200f..95cbcc5 100644 --- a/src/remote/gitlab.ts +++ b/src/remote/gitlab.ts @@ -1,21 +1,20 @@ import { mustExist } from '@apextoaster/js-utils'; -import { GetResponse } from '@gitbeaker/core/dist/types/infrastructure/RequestHelper'; -import { Bundle } from '@gitbeaker/core/dist/types/infrastructure/Utils'; +import { BundleType } from '@gitbeaker/core/dist/types/infrastructure/Utils'; import { IssueNotes, Issues, Labels, Projects, ProjectsBundle } from '@gitbeaker/node'; import { CommentUpdate, IssueUpdate, LabelUpdate, ProjectQuery, Remote, RemoteOptions } from '.'; import { BaseRemote } from './base'; // gitbeaker exports the bundle types as const, breaking typeof -type RemoteBundle = InstanceType>; -export function unwrapResponse(resp: GetResponse): T { - return (resp as unknown) as T; +export function unwrapResponse(resp: unknown): T { + return resp as T; } /**