Skip to content

Commit 03235e5

Browse files
committed
Should return a dictionary of modified constructors
1 parent 4e509c1 commit 03235e5

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

packages/gitbeaker-requester-utils/src/RequesterUtils.ts

+4-1
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,10 @@ export function createInstance(optionsHandler, requestHandler): RequesterType {
7777
return requester;
7878
}
7979

80-
export function modifyServices<T>(services: DictionaryOfConstructors<T>, customConfig: object): T {
80+
export function modifyServices<T>(
81+
services: DictionaryOfConstructors<T>,
82+
customConfig: object,
83+
): DictionaryOfConstructors<T> {
8184
const result: any = {};
8285

8386
Object.keys(services).forEach((name: string) => {

0 commit comments

Comments
 (0)