Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix type declaration for flush() #173

Merged
merged 1 commit into from
May 24, 2024
Merged

Conversation

h
Copy link
Contributor

@h h commented May 21, 2024

The flush() function returns the result of the most recent function invocation, however, the type declaration did not reflect this correctly. This PR updates the Typescript declaration to match the actual return-type of the function.

Fixes #174

The `flush()` function returns the result of the most recent function invocation,
however, the type declaration did not reflect this correctly. This commit
updates the Typescript declaration to match the actual return-type of the function.
@h h marked this pull request as draft May 21, 2024 22:54
@h h marked this pull request as ready for review May 21, 2024 22:54
@xnimorz xnimorz merged commit 126b911 into xnimorz:master May 24, 2024
1 check passed
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.

Incorrect return type for flush() function
2 participants