Question from the Typescript - Overview test

Typescript: What is the resulting type of MyType in the following TypeScript code?

Easy

What is the resulting type of MyType in the following TypeScript code?

type A = { a: number };
type B = { b: string };
type MyType = A & B;
Author: Vincent CotroStatus: PublishedQuestion passed 844 times
Edit
2
Community EvaluationsNo one has reviewed this question yet, be the first!