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

feat: update @emotion/server types to support all exported members #2835

Merged
merged 3 commits into from
Jul 30, 2022
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/silent-baboons-press.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@emotion/server': patch
---

Update emotion server types to support all exported members
Andarist marked this conversation as resolved.
Show resolved Hide resolved
4 changes: 3 additions & 1 deletion packages/server/types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@

import { EmotionServer } from '@emotion/server/create-instance'

export const extractCritical: EmotionServer['extractCritical']
export const extractCriticalToChunks: EmotionServer['extractCriticalToChunks']
export const renderStylesToString: EmotionServer['renderStylesToString']
export const renderStylesToNodeStream: EmotionServer['renderStylesToNodeStream']
export const extractCritical: EmotionServer['extractCritical']
export const constructStyleTagsFromChunks: EmotionServer['constructStyleTagsFromChunks']