Skip to content

Ошибка проверки типов компонента Link при обновлении до версии 17+ #1147

Open
jkikksa opened this issue Apr 29, 2020 · 0 comments

Comments

@jkikksa
Copy link

jkikksa commented Apr 29, 2020

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant