Skip to content

setTimeout - Argument of type 'number | undefined' is not assignable to parameter of type 'number'. #654

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

Closed
Boredude opened this issue Feb 28, 2021 · 1 comment
Assignees

Comments

@Boredude
Copy link

What I wanted to do

Code doesn't compile with typescript

What I expected to happen

Code can be complied

What actually happened

Introduces an error

image

@optimizely/optimizely-sdk version:

node version: 4.5.0

Versions of any other relevant tools (like module bundlers, transpilers, etc.):

Typescript version: 3.8.0

@yavorona
Copy link
Contributor

yavorona commented Mar 2, 2021

@Boredude thanks for reporting this issue! The fix has been merged and released in optimizely-sdk v4.5.1

@yavorona yavorona closed this as completed Mar 2, 2021
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

No branches or pull requests

2 participants