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