Can you define generics with safe types, as you can with c#?
E.g.
public bool Foo<T>() where T : struct { /* */ }
Typescript now has generics, but can I perform a similar action?
Thanks.
Can you define generics with safe types, as you can with c#?
E.g.
public bool Foo<T>() where T : struct { /* */ }
Typescript now has generics, but can I perform a similar action?
Thanks.