I\'m creating this React hook, which exposes a user object. Inside the hook I\'m defining the type as either \'CognitoUserInterface | undefined\'. Since the object will be u