await
has no effect on this type of expression on README example
#84
Labels
bug
Something isn't working
await
has no effect on this type of expression on README example
#84
Describe the bug
The README for this repo includes this example:
However, since evaluateFlags doesn't return a Promise, awaiting it doesn't do anything. Very minor bug, but worth fixing!
Steps to reproduce the bug
Go to docs.
Paste the snippet in a project with Unleash and Next installed.
Observe TypeScript errors.
Expected behavior
N/A
Logs, error output, etc.
No response
Screenshots
Additional context
No response
Unleash version
No response
Subscription type
None
Hosting type
Hosted by Unleash
SDK information (language and version)
No response
The text was updated successfully, but these errors were encountered: