accurate-interval icon indicating copy to clipboard operation
accurate-interval copied to clipboard

Typescript: opts variable not labeled as optional.

Open devtayls opened this issue 3 years ago • 0 comments

Issue

The opts parameter in the function is not typed as optional, this causes linting to throw an arrow when opts are not provided.

Suggested fix:

Adding '?' to opts parameter in the function definition to signify that it is an optional parameter

devtayls avatar Apr 24 '21 21:04 devtayls