sppull icon indicating copy to clipboard operation
sppull copied to clipboard

SPPull.download is not a function

Open ivanbacher opened this issue 2 years ago • 1 comments

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 avatar Feb 17 '23 08:02 ivanbacher

@ivanbacher are you sure that you're using the latest version?

koltyakov avatar Feb 17 '23 17:02 koltyakov