Annotationsschnittstelle AllowNull


@Target({TYPE_PARAMETER,TYPE_USE}) @Retention(RUNTIME) public @interface AllowNull
This annotation is used to annotate type parameterts. It explicitly states that the type parameter can also be a null value, so that the type in typescript is transpiled as "TYPE | null".