@Documented @Retention(value=SOURCE) @Target(value=TYPE) public @interface TypeScriptType
TypeScriptType to specify a custom template or override default mappings.@TypeScriptType("any")private Foobar foo;foo : any| Modifier and Type | Optional Element and Description |
|---|---|
String |
template
Template to use for generating TypeScript-files for this
TypeScriptType. |
String |
value
The name of the interface.
|
public abstract String value
TypeScriptType.public abstract String template
TypeScriptType.
If none is specified the default-template will be used.
Default template is located at "/org/leandreck/endpoints/templates/typescript/interface.ftl".Copyright © 2016. All rights reserved.