Open snelsi opened 2 months ago
Name | Link |
---|---|
Latest commit | e3a09ac264135636dc7d9ed28651a4e272c190bb |
Latest deploy log | https://app.netlify.com/sites/ffmpegwasm/deploys/6612c80073163b00088f4e62 |
Deploy Preview | https://deploy-preview-723--ffmpegwasm.netlify.app |
Preview on mobile | Toggle QR Code...Use your smartphone camera to open QR code link. |
To edit notification comments on pull requests, go to your Netlify site configuration.
Is your feature request related to a problem? Please describe. The
@ffmpeg/ffmpeg
package.json declaration file claims that library types are exported atindex.d.ts
:However, in reality, the only type that is exported is the
FFmpeg
class declaration fromclasses.d.ts
.The
FFmpeg
class utilizes TypeScript types such asLogEventCallback
,ProgressEventCallback
,FFMessageLoadConfig
, andFFMessageOptions
, which are declared intypes.ts
.I would like to utilize these types to create a custom wrapper around the
FFmpeg
class. However, currently, it seems impossible to export them.Describe the solution you'd like I propose exporting all types declared in types.ts at the index.ts root file as follows:
Describe alternatives you've considered I attempted to use the
@ffmpeg/types
library, but it mostly contains unrelated or unuseful content that doesn't meet my needs. Additionally, I tried to directly import from thetypes.d.ts
file in the dist, but my resolver couldn't locate such a file: