Use of Maybe in RTK Query GraphQL generated types

Viewed 20

I have a TS problem that I'm trying to figure out, and I'm looking through various places where people are doing somewhat similar things. So I'm looking at the generated types for the RTK Query generated GraphQl example code, and I see

export type Maybe<T> = T;

What is the advantage of using this over just using T?

TIA!

0 Answers
Related