DevClad-Inc / devclad

Detected usage of the any type JS-0323
Anti-pattern
Critical
a year ago2 years old
Unexpected any. Specify a different type
 17
 18	let uQ: {
 19		queryKey: string[];
 20		queryFn: () => Promise<AxiosResponse<any, any> | null>; 21		enabled: boolean;
 22	};
 23	if (queryParams.get('status') !== null) {
Unexpected any. Specify a different type
 17
 18	let uQ: {
 19		queryKey: string[];
 20		queryFn: () => Promise<AxiosResponse<any, any> | null>; 21		enabled: boolean;
 22	};
 23	if (queryParams.get('status') !== null) {
Unexpected any. Specify a different type
 51					id: 'user-update-success',
 52				});
 53			});
 54		} catch (error: any) { 55			const { data } = error.response;
 56			if (data.username) {
 57				toast.custom(<Error error={data.username} />, {
Unexpected any. Specify a different type
56}
57
58export function webVitals(options: {
59	params: { [s: string]: any } | ArrayLike<any>;60	path: string;
61	analyticsId: string;
62	debug: boolean;
Unexpected any. Specify a different type
56}
57
58export function webVitals(options: {
59	params: { [s: string]: any } | ArrayLike<any>;60	path: string;
61	analyticsId: string;
62	debug: boolean;