airbnb / airbnb/react-sketchapp

Unable to use styled-components@5.3.0 with typescript

Open
#527 1 comment 0 reactions 0 assignees View on GitHub
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

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.