emotion
emotion copied to clipboard
Types for `@emotion/primitives-core` are missing in Emotion 11
Current behavior:
No TypeScript support for @emotion/primitives-core
To reproduce:
- Setup CRA with TypeScript
yarn add @emotion/primitives-core- Add
import { createCss } from '@emotion/primitives-core';somewhere - See that
createCsshas no type
Environment information:
reactversion: 16.13.1emotionversion: 11.0.0-next.16
Those packages are community-driven from our perspective. We won't be providing any substantial changes to them ourselves - we welcome the community to prepare PRs though and we'll review them, merge and release.
primitives-core has been converted to TypeScript in the ts-migration branch so it has types now. Though, it may be quite a while before ts-migration is merged.