I've been asked a questino at work and I am unable to answer it.
The question is how it's different to create a:
interface A {
name: string | null;
}
than:
type A = {name: string | null};
I feel like it's compiled down to the same thing, but I need someone wiser than me to expalin in detail.