We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
then
1 parent ffa76bd commit 04a10f6Copy full SHA for 04a10f6
src/create-client.ts
@@ -36,7 +36,7 @@ export const clientConstructor = ({ token, ...options }: Typeform.ClientArg): Ty
36
Authorization: `bearer ${token}`
37
}
38
})
39
- .then((response): any => response.data)
+ .then((response: any) => response.data)
40
.catch((error: any) => {
41
if (error && error.response && error.response.data && error.response.data.description) {
42
throw new Error(error.response.data.description)
0 commit comments