TypeScript
To define TypeScript as the target language in a template file :
#set( $env.language = 'TypeScript' )The information below shows the behavior of the generator when TypeScript is the current target language.
For a detailed description of type conversion and literal values see the generated documentation: https://www.telosys.org/doc/latest/languages/language-typescript.html
Types conversion
The table below describes how model neutral types are automatically converted to TypeScript types
string
string
byte
number
short
number
int
number
long
number
decimal
number
float
number
double
number
boolean
boolean
date
Date
time
Date
timetz
Date
datetime
Date
datetimetz
Date
timestamp
Date
uuid
string
binary
Uint8Array
Annotations effects
@UnsignedType : no effect
@ObjectType : no effect
@NotNull : no effect
@PrimitiveType : no effect
See also
For more information about TypeScript see :
Literal values
TRUE, FALSE, NULL
TRUE
true
FALSE
false
NULL
null
Last updated