Skip to content

🎥 Make videos programmatically with React

only null

Jonny Burger12b07cde5e3b
diff --git a/packages/cli/src/editor/components/RenderModal/out-name-checker.ts b/packages/cli/src/editor/components/RenderModal/out-name-checker.ts
index dd878b52cf..b568b21764 100644
--- a/packages/cli/src/editor/components/RenderModal/out-name-checker.ts
+++ b/packages/cli/src/editor/components/RenderModal/out-name-checker.ts
@@ -26,7 +26,7 @@ export const validateOutnameGui = ({
codec: Codec;
audioCodec: AudioCodec;
renderMode: RenderType;
- stillImageFormat?: StillImageFormat;
+ stillImageFormat: StillImageFormat | null;
}): {valid: true} | {valid: false; error: Error} => {
try {
isValidOutName({
@@ -53,7 +53,7 @@ const isValidOutName = ({
codec: Codec;
audioCodec: AudioCodec;
renderMode: RenderType;
- stillImageFormat?: StillImageFormat;
+ stillImageFormat: StillImageFormat | null;
}): void => {
const extension = outName.substring(outName.lastIndexOf('.') + 1);
const prefix = outName.substring(0, outName.lastIndexOf('.'));