1) For most transport classes (even with C# or Java) you should use plain classes (i.e.: no methods on them). Typescript Interfaces are great for this.
2) If you really want typed transports, this is an awesome libray that reads some dynamic value and casts it to typed value: github.com/typestack/class-transfo... It is very usefull for those computed properties =)
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
1) For most transport classes (even with C# or Java) you should use plain classes (i.e.: no methods on them). Typescript Interfaces are great for this.
2) If you really want typed transports, this is an awesome libray that reads some dynamic value and casts it to typed value: github.com/typestack/class-transfo... It is very usefull for those computed properties =)