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