mcut
@mcut/transcription

retypeWord

Generated TypeScript API reference for the public mcut SDK.

mcut SDK


mcut SDK / transcription/src / retypeWord

Function: retypeWord()

function retypeWord(
   caption,
   wordIndex,
   newText): CaptionContentPatch | null;

Defined in: packages/transcription/src/transcript-tools.ts:227

Repair: retype one word in place (fixes caption text + timing together).

Parameters

caption

TranscriptCaption

wordIndex

number

newText

string

Returns

CaptionContentPatch | null

On this page