Answers for "argument of type * is not assignable to parameter of type SetStateAction"

1

argument of type * is not assignable to parameter of type SetStateAction

interface UserData {
  username: string;
  password: string;
  prevState: null
}

const [user, setUser] = useState<UserData | null>(null);
Posted by: Guest on March-29-2022

Code answers related to "argument of type * is not assignable to parameter of type SetStateAction"

Code answers related to "TypeScript"

Browse Popular Code Answers by Language