Skip to content

Conversation

SachinShekhar
Copy link

Description

This PR adds stricter type safety to callable functions with generics.

Code sample

export const isValidSession = https.onCall<string, boolean>((data, context) => { const sessionId = data; // ... // ... return true; });
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant