Type aliases
| Language | Example |
|---|---|
| Schema / Rust | type A = T; |
| Go | type A = T |
| Kotlin | typealias A = T |
| TypeScript | type A = T; |
| Python | A: TypeAlias = T |
Schema
Section titled “Schema”struct Sample
type Other = Sample;Languages
Section titled “Languages”struct Sample {}
type Other = Sample;type Sample struct{}
type Other = Sampleclass Sample
typealias Other = Sampleclass Sample {}
type Other = Sample;@dataclassclass Sample: pass
Other: TypeAlias = Sample