#[derive(TS)] { // Attributes available to this derive: #[ts] }
Derives TS for a struct or enum. Please take a look at TS for documentation.