Telosys doc
Website
News
Twitter
Linkedin
Search…
Telosys documentation
Telosys CLI
Telosys with Eclipse
Telosys with VSCode
Configuration & variables
Model (DSL model)
Model from database
Templates
Target languages
C++
C#
Golang
Java
JavaScript
PHP
Python
Scala
TypeScript
Support the project
How to contribute
Sponsors
Tooling
Powered By
GitBook
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.
Types conversion
The table below describes how
model neutral types
are automatically converted to
TypeScript types
Model type
TypeScript type
​
string
string
​
byte
number
​
short
number
​
int
number
​
long
number
​
decimal
number
​
float
number
​
double
number
​
boolean
boolean
​
date
Date
​
time
Date
​
timestamp
Date
​
binary
any
​
Annotations effects
@UnsignedType
: no effect
@ObjectType
: no effect
@NotNull
: no effect
@PrimitiveType
: no effect
See also
For more information about TypeScript see :
​
https://www.typescriptlang.org/docs/handbook/2/everyday-types.html#object-types
​
​
Previous
Scala
Next
Support the project
Last modified
1yr ago
Copy link
Outline
Types conversion
Annotations effects
See also