Skip to content

Commit

Permalink
Fix @emotion/css/create-instance types in TypeScript module resolut…
Browse files Browse the repository at this point in the history
…ion modes that support the `exports` field (#3057)
  • Loading branch information
emmatown authored Jun 16, 2023
1 parent fef1ea0 commit 8f66526
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .changeset/curly-worms-beam.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@emotion/css': patch
---

Fix `@emotion/css/create-instance` types in TypeScript module resolution modes that support the `exports` field
4 changes: 2 additions & 2 deletions packages/css/src/create-instance.d.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
export * from '../types'
export { default } from '../types'
export * from '../types/create-instance'
export { default } from '../types/create-instance'

0 comments on commit 8f66526

Please sign in to comment.