I m following the tic-tac-toe tutorial on Moralis demo github repo, but I am getting the following error Property 'authenticate' does not exist on type 'typeof Moralis'.
after npm installing it and running it.
Error:
Property 'authenticate' does not exist on type 'typeof Moralis'. TS2339
6 | const [userData, setUser] = useUserContext();
7 | const onLogin = async () => {
> 8 | const user = await Moralis.authenticate();
| ^
9 | setUser(user.attributes);
10 | };