airbnb / airbnb/react-sketchapp
Unable to use styled-components@5.3.0 with typescript
- Dominant language
- TypeScript
- Stars
- 14.9k
- Forks
- 797
- PR merge metrics
- No merged PRs in 30d
Description
| -------------------------------------------------------------------------------------------------
| Requesting a new feature
| -------------------------------------------------------------------------------------------------
**Proposal/Feature-request:** use 'styled-components@5.3.0' & '@types/styled-components@5.1.10':
styled.Text, cause: "Property 'Text' does not exist on type 'ThemedStyledInterface'. Did you mean 'text'?ts(2551)"
**Sketch version:** 72.1
Contributor guide
Research direction
The issue names styled-components@5.3.0, @types/styled-components@5.1.10, and styled.Text as the failing usage, but no files or tests. Start by locating the TypeScript integration that exposes styled-components and reproduce the reported error; done means styled.Text type-checks with those versions on Sketch 72.1.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react, typescript
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100