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