subsrt-ts
    Preparing search index...

    Variable build

    build: (captions: Caption[], options?: BuildOptions) => string

    Type Declaration

      • (captions: Caption[], options?: BuildOptions): string
      • Builds a subtitle content.

        Parameters

        Returns string

        The built subtitle content

        TypeError If the format cannot be determined

        TypeError If the format is not supported

        TypeError If the handler does not support 'build' op