We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 09c357b commit 2aad9c9Copy full SHA for 2aad9c9
src/templates/core/mappersmith/request.hbs
@@ -32,7 +32,13 @@ export type {{{clientName}}}Client = {
32
};
33
34
{{!--export const {{{camelCase clientName}}}MappersmithClientFactory = (host: string): Client<{{{clientName}}}Resource> =>--}}
35
-export const {{{camelCase clientName}}}MappersmithClientFactory = (host: string, middleware?: Middleware[]) =>
+export const {{{camelCase clientName}}}MappersmithClientFactory = ({
36
+ host,
37
+ middleware
38
+}: {
39
+ host: string,
40
+ middleware?: Middleware[]
41
+}) =>
42
forge({
43
clientId: '{{clientName}}',
44
host,
0 commit comments