Skip to content

Conversation

@famouswizard
Copy link

tightened up the types so TS stops complaining:

  • objectId is now ObjectId instead of null
  • added explicit return type for getSessionById

now TS knows we either get an error or a session with its ID.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant