string; }' is not assignable to type 'IntrinsicAttributes & (IntrinsicClassAttributes<Component<Pick<RouteComponentProps<any, StaticContext, unknown>, never> & ({} | { wrappedComponentRef?: Ref<...>; }), any, any>> & (Readonly<...> & Readonly<...>))'. Property 'meters' does not exist on type 'IntrinsicAttributes & (IntrinsicClassAttributes<Component<Pick<RouteComponentProps<any, StaticContext, unknown>, never> & ({} | { wrappedComponentRef?: Ref<...>; }), any, any>> & (Readonly<...> & Readonly<...>))'.
Какая именно ошибка тебя интересует?
на 144 строке meter подчеркивает ошибка : TS2322: Type '{ meters: number; pick: number[]; drop: number[]; company_id: string; }' is not assignable to type 'IntrinsicAttributes & (IntrinsicClassAttributes<Component<Pick<RouteComponentProps<any, StaticContext, unknown>, never> & ({} | { wrappedComponentRef?: Ref<...>; }), any, any>> & (Readonly<...> & Readonly<...>))'. Property 'meters' does not exist on type 'IntrinsicAttributes & (IntrinsicClassAttributes<Component<Pick<RouteComponentProps<any, StaticContext, unknown>, never> & ({} | { wrappedComponentRef?: Ref<...>; }), any, any>> & (Readonly<...> & Readonly<...>))'.
Воспроизведи в песочнице
Обсуждают сегодня