Last analyzed 77c0157 3 days ago
Default analysis branch is
Currently analyzing run
Detected usage of the any type JS-0323
Anti-pattern
5 months ago5 months old
Unexpected any. Specify a different type
 2 * @param param0
 3 * @returns
 4 */
 5export function ItemsQuantity({ item }: { item: any }): JSX.Element { 6  return (
 7    <div className="text-zinc-900">
 8      <p className="sm:text-lg md:text-xl lg:text-2xl xl:text-3xl">
Unexpected any. Specify a different type
 8function Items({ items, onDelete, onEdit }: any): JSX.Element {
 9  return (
10    <>
11      {items.map((item: { id: any }): JSX.Element => (12        <GroceryItem
13          item={item}
14          key={item.id}
Unexpected any. Specify a different type
 5 * @param param0 
 6 * @returns 
 7 */
 8function Items({ items, onDelete, onEdit }: any): JSX.Element { 9  return (
10    <>
11      {items.map((item: { id: any }): JSX.Element => (
Unexpected any. Specify a different type
 5 * @param param0
 6 * @returns
 7 */
 8function Header({ showForm, changeTextAndColor }: any): JSX.Element { 9  return (
10    <header className="flex items-center justify-between mb-4 header">
11      <h2 className="font-serif text-xl app-header sm:text-2xl md:text-3xl lg:text-4xl xl:text-5xl">
Unexpected any. Specify a different type
 2 * @param
 3 * @returns
 4 */
 5function Button({ color, text, onClick }: any): JSX.Element { 6  return (
 7    <button
 8      type="button"