Skip to content

plasma-core: update @types/styled-components & @types/node #714

Open
Yeti-or opened this issue Sep 7, 2021 · 2 comments
Open

plasma-core: update @types/styled-components & @types/node #714

Yeti-or opened this issue Sep 7, 2021 · 2 comments
Labels
Dependencies Pull requests that update a dependency file Low priority

Comments

@Yeti-or
Copy link
Contributor

Yeti-or commented Sep 7, 2021

 plasma-core % npm install --save-dev @types/styled-components@5.1.7
 plasma-core % npm run build

...

 postbuild plasma/packages/plasma-core
> tsc --outDir . --emitDeclarationOnly

src/hooks/useDebouncedFunction.ts:30:9 - error TS2322: Type 'Timeout' is not assignable to type 'number'.

30         timeoutRef.current = setTimeout(() => func(...args), delay);
           ~~~~~~~~~~~~~~~~~~


Found 1 error.
@Yeti-or Yeti-or changed the title plasma-core: update @types/styled-components plasma-core: update @types/styled-components Sep 7, 2021
@Yeti-or Yeti-or changed the title plasma-core: update @types/styled-components plasma-core: update @types/styled-components & @types/node Sep 7, 2021
@Yeti-or
Copy link
Contributor Author

Yeti-or commented Sep 7, 2021

Тоже самое когда ставишь + @types/node@16.7.13

@fanisco
Copy link
Contributor

fanisco commented Sep 7, 2021

btw мой PR таки вмерджили DefinitelyTyped/DefinitelyTyped#54698

@Yeti-or Yeti-or added Dependencies Pull requests that update a dependency file Low priority labels Sep 7, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Dependencies Pull requests that update a dependency file Low priority
Projects
None yet
Development

No branches or pull requests

2 participants