// An example of generics in TypeScript.
class Option<T> {
constructor(v:T|null=null) { this.value = v; }
readonly value:T|null;
}
For further actions, you may consider blocking this person and/or reporting abuse
// An example of generics in TypeScript.
class Option<T> {
constructor(v:T|null=null) { this.value = v; }
readonly value:T|null;
}
For further actions, you may consider blocking this person and/or reporting abuse
Scofield Idehen -
Nik L. -
Anton Martyniuk -
parthlaw -
Top comments (0)