Separate web service proxy with data transfer object from the view model. Use swagger to generate web service proxy. Don't call API directly without a proxy class, then you will never forget that.
Never ship a code without testing it. :-)
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.
Discussion on: Sorry C# and Java developers, this is not how TypeScript works
For further actions, you may consider blocking this person and/or reporting abuse