Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeScript compilation error #1893

Closed
Ky6uk opened this issue Aug 6, 2018 · 1 comment
Closed

TypeScript compilation error #1893

Ky6uk opened this issue Aug 6, 2018 · 1 comment

Comments

@Ky6uk
Copy link

Ky6uk commented Aug 6, 2018

Environment

System:

  • OS: macOS High Sierra 10.13.6
  • CPU: x64 Intel(R) Core(TM) i5-4250U CPU @ 1.30GHz
  • Memory: 278.14 MB / 8.00 GB
  • Shell: 4.4.23 - /usr/local/bin/bash

Binaries:

  • Node: 10.8.0 - /usr/local/bin/node
  • Yarn: 1.9.4 - /usr/local/bin/yarn
  • npm: 6.0.1 - /usr/local/bin/npm
  • Watchman: 4.9.0 - /usr/local/bin/watchman
  • TypeScript: 3.0.1

npmPackages:

  • styled-components: 3.4.1

Reproduction

I just tried to compile TypeScript project with styled-components and got

ERROR in [at-loader] ./node_modules/styled-components/typings/styled-components.d.ts:179:59
    TS2707: Generic type 'StyledComponentClass<P, T, O>' requires between 2 and 3 type arguments.
@Ky6uk
Copy link
Author

Ky6uk commented Aug 6, 2018

Well. I see it should be fixed at master. That's strange a fix still not released. 😒

@Ky6uk Ky6uk closed this as completed Aug 6, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant