Skip to content

Commit

Permalink
Update packages/css/src/create-instance.ts
Browse files Browse the repository at this point in the history
Co-authored-by: Mateusz Burzyński <mateuszburzynski@gmail.com>
  • Loading branch information
emmatown and Andarist authored Nov 23, 2021
1 parent f1c1b16 commit a04d0c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/css/src/create-instance.ts
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ function merge(
let createEmotion = (options: Options): Emotion => {
let cache = createCache(options)

;(cache.sheet as any).speedy = function (value: boolean) {
;(cache.sheet as CSSStyleSheet).speedy = function (value: boolean) {
if (process.env.NODE_ENV !== 'production' && this.ctr !== 0) {
throw new Error('speedy must be changed before any rules are inserted')
}
Expand Down

0 comments on commit a04d0c4

Please sign in to comment.