• Generate code for given TL errors

    Parameters

    • errors: TlErrors

      Errors to generate code for

    • exports: string = 'exports.'

      Prefix for exports object

    Returns [string, string]

    Tuple containing [ts, js] code