UNPKG

@np-dev/youtubei-js

Version:

A wrapper around YouTube's private API. Supports YouTube, YouTube Music, YouTube Kids and YouTube Studio (WIP).

15 lines (14 loc) 413 B
import NavigationEndpoint from '../NavigationEndpoint.js'; import { type Run } from './Text.js'; import type { RawNode } from '../../index.js'; export default class TextRun implements Run { text: string; endpoint?: NavigationEndpoint; bold: boolean; italics: boolean; strikethrough: boolean; attachment: any; constructor(data: RawNode); toString(): string; toHTML(): string; }