source: emotion-server.d.ts@ 546a194

main
Last change on this file since 546a194 was 40ac7a9, checked in by Mihail <mihail2.naumov@…>, 7 months ago

Added frontend elements

  • Property mode set to 100644
File size: 381 bytes
Line 
1declare module '@emotion/server/create-instance' {
2 import { EmotionCache } from '@emotion/cache';
3
4 export interface EmotionServer {
5 extractCriticalToChunks: (html: string) => { styles: any[]; html: string };
6 constructStyleTagsFromChunks: (chunks: any) => string;
7 }
8
9 export default function createEmotionServer(cache: EmotionCache): EmotionServer;
10}
Note: See TracBrowser for help on using the repository browser.