• Generate TypeScript definitions for a given entry

    Parameters

    • entry: TlEntry

      Entry to generate definitions for

    • baseNamespace: string = 'tl.'

      Base TL namespace containing the entries

    • Optionalerrors: TlErrors

      Errors information object

    • withFlags: boolean = false

      Whether to include flags field in the type

    Returns string