Ошибка проверки типов компонента Link при обновлении до версии 17+
jkikksa opened this issue · comments
Dmitry Rusakov commented
Types of property 'defaultValue' are incompatible.
Type 'string | number | string[]' is not assignable to type 'string | string[]'.
Type 'number' is not assignable to type 'string | string[]'.
Решение
Необходимо использовать локально установленную версию пакета @types/react
аналогичную той, что указывается в зависимостях https://github.com/alfa-laboratory/arui-feather/blob/master/package.json