mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
* [@types/ffmpeg]: add types * refactor: make changes as suggested by the linter * fix: restrict to ts 2.1 * refactor: use `export =`
7 lines
137 B
TypeScript
7 lines
137 B
TypeScript
import ffmpeg from 'ffmpeg';
|
|
|
|
new ffmpeg('./test/mymovie.avi')
|
|
.then((video) => {
|
|
video.setVideoAspectRatio('16:9');
|
|
});
|