Skip to content

🎥 Make videos programmatically with React

Update stitch-frames-to-video.md

Shankhadeep Dey86ca1c5e7fbb
diff --git a/packages/docs/docs/stitch-frames-to-video.md b/packages/docs/docs/stitch-frames-to-video.md
index e1b14e601a..47f7347cca 100644
--- a/packages/docs/docs/stitch-frames-to-video.md
+++ b/packages/docs/docs/stitch-frames-to-video.md
@@ -90,10 +90,10 @@ The constant rate factor of the output, a parameter which controls quality. See
_optional_
-Callback function which informs about the encoding progress. The `progress` value is the frame number.
+Callback function which informs about the encoding progress. The `frameNumber` value is a `number`.
```ts twoslash
-const onProgress = (progress: frameNumber) => {
+const onProgress = (frameNumber: number) => {
console.log(`Encoding progress: on ${frameNumber} frame`)
}
```