Skip to content

Treat window.setTimeout like setTimeout #194

@elsassph

Description

@elsassph

Describe the need

We can safely use props in a setTimeout callback, but not a window.setTimeout callback.

We prefer the latter because of the consistent typing for the return value.

Suggested Solution

Possible Alternatives

Additional context

  • I would be willing to contribute a PR to implement this feature

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions