• Generate TypeScript definitions for a given TL schema

    Parameters

    • schema: TlFullSchema

      TL schema to generate definitions for

    • layer: number

      Layer of the schema

    • namespace: string = 'tl'

      namespace of the schema

    • Optionalerrors: TlErrors

      Errors information object

    Returns [string, string]

    Tuple containing [ts, js] code