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 896 times
Edit
6
Community EvaluationsNo one has reviewed this question yet, be the first!