I am new to TypeScript and am learning it by setting up a new project and how I would normally do that, but with TypeScript along the way. I have this bit of React working but do not know what this means -- therefore which document I should be reading to learn up on it.
const [user, setUser] = useState<any | null>(false);
Specifically the <any | null> part. This is the only new part with TypeScript but not sure how to read this. Is this saying the type is any type, else null? What are some other options I can use in place of any and null? Are there scenarios I should avoid?