sppull
sppull copied to clipboard
SPPull.download is not a function
I was getting and error that download is not a function when using the import like this:
import SPPull from 'sppull';
const sppull = SPPull.download; // <-- this is an entry point
Had to change it the follwing to get it to work
import {SPPull} from 'sppull';
const sppull = SPPull.download; // <-- this is an entry point
@ivanbacher are you sure that you're using the latest version?