Skip to content

Commit 04a10f6

Browse files
committed
fix(create-client): fix typing of request then
1 parent ffa76bd commit 04a10f6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/create-client.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ export const clientConstructor = ({ token, ...options }: Typeform.ClientArg): Ty
3636
Authorization: `bearer ${token}`
3737
}
3838
})
39-
.then((response): any => response.data)
39+
.then((response: any) => response.data)
4040
.catch((error: any) => {
4141
if (error && error.response && error.response.data && error.response.data.description) {
4242
throw new Error(error.response.data.description)

0 commit comments

Comments
 (0)