Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 20s
Build & Deploy / 🧪 QA (push) Failing after 34s
Build & Deploy / 🏗️ Build (push) Has started running
Build & Deploy / 🚀 Deploy (push) Has been cancelled
Build & Deploy / 🧪 Smoke Test (push) Has been cancelled
Build & Deploy / ⚡ Lighthouse (push) Has been cancelled
Build & Deploy / 🔔 Notify (push) Has been cancelled
27 lines
557 B
Plaintext
27 lines
557 B
Plaintext
import type { StyleSheet } from '@emotion/sheet'
|
|
|
|
export type { StyleSheet }
|
|
|
|
export type RegisteredCache = Record<string, string | undefined>
|
|
|
|
export type SerializedStyles = {
|
|
name: string
|
|
styles: string
|
|
next?: SerializedStyles
|
|
}
|
|
|
|
export type EmotionCache = {
|
|
inserted: Record<string, string | true | undefined>
|
|
registered: RegisteredCache
|
|
sheet: StyleSheet
|
|
key: string
|
|
compat?: true
|
|
nonce?: string
|
|
insert: (
|
|
selector: string,
|
|
serialized: SerializedStyles,
|
|
sheet: StyleSheet,
|
|
shouldCache: boolean
|
|
) => string | void
|
|
}
|