🎥 Make videos programmatically with React
Docs: Add types to Caption fields
Jonny Burger406a99c9f909
diff --git a/packages/docs/docs/captions/caption.mdx b/packages/docs/docs/captions/caption.mdxindex ad3e941bf6..d16948d003 100644--- a/packages/docs/docs/captions/caption.mdx+++ b/packages/docs/docs/captions/caption.mdx@@ -25,25 +25,35 @@ By establishing a standard data structure, we allow many operations that involve### `text`+_string_+The text of the caption.### `startMs`+_number_+The start time of the caption in milliseconds.### `endMs`+_number_+The end time of the caption in milliseconds.### `timestampMs`-The timestamp of the caption as a singular timestamp in milliseconds.-When using [`@remotion/install-whisper-cpp`](/docs/install-whisper-cpp), this the `t_dtw` value.-Otherwise, it is not defined, but may be the average of the start and end timestamps.+_number | null_++The timestamp of the caption as a singular timestamp in milliseconds.+When using [`@remotion/install-whisper-cpp`](/docs/install-whisper-cpp), this is the `t_dtw` value.+Otherwise, it is `null`, but may be the average of the start and end timestamps.### `confidence`-A number between 0 and 1 that indicates how confident the transcription is.+_number | null_++A number between 0 and 1 that indicates how confident the transcription is, or `null` if no confidence value is available.### `lineBreakAfter?`<AvailableFrom v="4.0.517" />