Skip to content

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

Closed
@Boredude

Description

@Boredude

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions