flowjs / flow.js

A JavaScript library providing multiple simultaneous, stable, fault-tolerant and resumable/restartable file uploads via the HTML5 File API.
Other
2.96k stars 346 forks source link

Unable to import Flow without adding @types/flowjs__flow.js devdependency #387

Open ankitb-parmar opened 2 months ago

ankitb-parmar commented 2 months ago

Problem while importing flow import Flow from '@flowjs/flow.js' in angular 16 components getting below error. Could not find a declaration file for module '@flowjs/flow.js'

Should work without dependency After adding dependency of @types/flowjs__flow.js it is working fine, which should also work as expected without adding @types/flowjs__flow.js dependency.

Error Detail image

chiyandetaotie commented 1 month ago

@ankitb-parmar I have the same question with angular15. Have you saved it? How to solve it?

ankitb-parmar commented 1 month ago

you need to add given package dependency. @chiyandetaotie