paradiego
This commit is contained in:
2
node_modules/@emotion/cache/dist/declarations/src/index.d.ts
generated
vendored
Normal file
2
node_modules/@emotion/cache/dist/declarations/src/index.d.ts
generated
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
export * from "../types/index.js"
|
||||
export { default } from "../types/index.js"
|
||||
45
node_modules/@emotion/cache/dist/declarations/types/index.d.ts
generated
vendored
Normal file
45
node_modules/@emotion/cache/dist/declarations/types/index.d.ts
generated
vendored
Normal file
@@ -0,0 +1,45 @@
|
||||
// Definitions by: Junyoung Clare Jang <https://github.com/Ailrun>
|
||||
// TypeScript Version: 2.2
|
||||
|
||||
import { EmotionCache } from '@emotion/utils'
|
||||
|
||||
export { EmotionCache }
|
||||
|
||||
export interface StylisElement {
|
||||
type: string
|
||||
value: string
|
||||
props: Array<string> | string
|
||||
root: StylisElement | null
|
||||
parent: StylisElement | null
|
||||
children: Array<StylisElement> | string
|
||||
line: number
|
||||
column: number
|
||||
length: number
|
||||
return: string
|
||||
}
|
||||
export type StylisPluginCallback = (
|
||||
element: StylisElement,
|
||||
index: number,
|
||||
children: Array<StylisElement>,
|
||||
callback: StylisPluginCallback
|
||||
) => string | void
|
||||
|
||||
export type StylisPlugin = (
|
||||
element: StylisElement,
|
||||
index: number,
|
||||
children: Array<StylisElement>,
|
||||
callback: StylisPluginCallback
|
||||
) => string | void
|
||||
|
||||
export interface Options {
|
||||
nonce?: string
|
||||
stylisPlugins?: Array<StylisPlugin>
|
||||
key: string
|
||||
container?: Node
|
||||
speedy?: boolean
|
||||
/** @deprecate use `insertionPoint` instead */
|
||||
prepend?: boolean
|
||||
insertionPoint?: HTMLElement
|
||||
}
|
||||
|
||||
export default function createCache(options: Options): EmotionCache
|
||||
Reference in New Issue
Block a user