1nwf / Produx-v2

Detected usage of the any type JS-0323
Anti-pattern
Critical
4 occurrences in this check
Unexpected any. Specify a different type
260                `products/messages/${productId}/${lastId || 0}`,
261        }),
262        updateUser: builder.mutation<void, any>({
263            query: (data: any) => ({264                url: `users/update`,
265                method: 'PATCH',
266                body: data,
Unexpected any. Specify a different type
259            query: ({ productId, lastId }) =>
260                `products/messages/${productId}/${lastId || 0}`,
261        }),
262        updateUser: builder.mutation<void, any>({263            query: (data: any) => ({
264                url: `users/update`,
265                method: 'PATCH',
Unexpected any. Specify a different type
 87                body: userInfo,
 88            }),
 89        }),
 90        createUser: builder.mutation<void, any>({ 91            query: (user) => ({
 92                url: 'users/create',
 93                method: 'POST',
Unexpected any. Specify a different type
 25}
 26
 27interface CreatePostArgs {
 28    post: any 29    productName: string
 30    channel: string
 31}