tsg
tsg object is the main entry point to the TS Genie library, it enables you to create a new TsGenieProject with .init()
method or exposed expr
, statement
and type
builders.
tsg.expr
Returns: ExpressionStartBuilder
tsg.init(root)
Returns: TsGenieProject
Create a new project with a root at the root parameter.
tsg.statement
Returns: StatementBuidler
tsg.type
Returns: TypeBuilder