-
Notifications
You must be signed in to change notification settings - Fork 24
Open
Description
When using simple-plist from NPM (via npm install simple-plist) with TypeScript, I get the following error when trying to compile my project:
node_modules/simple-plist/dist/index.d.ts:13:19 - error TS2709: Cannot use namespace 'bplistParser' as a type.
13 bplistParser: bplistParser;
~~~~~~~~~~~~
Found 1 error in node_modules/simple-plist/dist/index.d.ts:13
The current version of simple-plist on NPM at the time of this writing (and the one I'm using) is 1.3.1, and I'm using the latest TypeScript 4.7.4. It seems that when I clone this project and run npm run build, an index.d.ts is generated that's different from the one I get in node_modules, and this one doesn't appear to have this issue, though it may be missing some declarations as well
EDIT: I saw at the bottom of the discussion of #58 that there's another version on NPM with the tag next that appears to resolve this issue. I'll leave this open until it's the default latest on NPM tho
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels