Question from the Typescript - Overview test

Define a custom type that represents a coordinate with an x and y property of type number in Typescript

Easy

What is the correct way to define a custom type that represents a coordinate with an x and y property of type number?

Author: Vincent CotroStatus: PublishedQuestion passed 799 times
Edit
5
Community EvaluationsNo one has reviewed this question yet, be the first!