Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: fix return type for close (#410)
Summary: - optimizely.close() does return a Promise. See [here](https://github.com/optimizely/javascript-sdk/blob/9fe10a04a1b30e255e8f5e9f5af433ce5a5565be/packages/optimizely-sdk/lib/optimizely/index.js#L977) - [Docs](https://docs.developers.optimizely.com/full-stack/docs/event-batching-javascript-node#section-close-optimizely-on-application-exit) also mentions awaiting on close Fixes `'await' has no effect on the type of this expression.ts(80007)`
- Loading branch information