Annotationsschnittstelle TsObject


@Target({TYPE_PARAMETER,TYPE_USE}) @Retention(RUNTIME) public @interface TsObject
This annotation is used to annotate type parameterts. It explicitly states that the type parameter is transpiled to a Typescript object type and not to string or number, so that the object type in Typescript extends JavaObject.