equinor / design-system

The Equinor design system
MIT License
119 stars 64 forks source link

Fix ts lint error on useId first param #3572

Open BorghildSelle opened 3 months ago

BorghildSelle commented 3 months ago

When using eds-utils useId(null, 'something') this lint error occurs:

Argument of type 'null' is not assignable to parameter of type 'string'.

Could this lint error be fixed?

oddvernes commented 2 months ago

Hello, which eslint rule triggers this? we don't get this error locally so it is a bit hard to test