I have a question:
interface ReactElement<P = any, T extends string |
JSXElementConstructor<any> = string | JSXElementConstructor<any>> {
type: T;
props: P;
key: Key | null;
}
What does it mean: " P = any". I know that this is generic of Typescript, but I don't understand why having "=" in here. Thank you so much