DEV Community

Discussion on: Maybe just Nullable?

Collapse
 
omenlog profile image
Omar E. Lopez • Edited

Hi , in your snippet about getUser I think that should be

const user = await getUser();

Collapse
 
macsikora profile image
Pragmatic Maciej

Asynchronous behavior is not relevant for the whole point. It stays the same, and treat code snippets as totally examples.