I am following this guide https://github.com/DanielMoralisSamples/19_MINTNFT/blob/master/app/static/js/logic.js and the docs https://github.com/DanielMoralisSamples/19_MINTNFT/blob/master/app/static/js/logic.js
When using:
const nft = new Moralis.File(file.name, file);
console.log('nft', nft);
The nft is returning:
Is that correct? Because when I then use:
await nft.saveIPFS();
const imageURI = nft.ipfs();
I get Property 'ipfs' does not exist on type 'File'.ts(2339)