Skip to content

Conversation

sanny-io
Copy link
Contributor

Considering the following line:

const [submit] = useHttpsCallable<ContactFields, boolean>(functions, 'sendContact')

The return type for submit is Promise<unknown>. With this change, the return type is Promise<HttpsCallableResult<boolean> | undefined>

@chrisbianca
Copy link
Contributor

@sanny-io This is a good catch, thanks for the PR - will merge and release shortly

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.

2 participants