UNPKG

418 BTypeScriptView Raw
1export interface StyleSource {
2 source: string;
3 media?: string;
4 moduleName?: string;
5 module?: {
6 [key: string]: string;
7 };
8 map?: any;
9}
10export default function createInjector(context: any, shadowRoot: ShadowRoot): (id: string, style: StyleSource) => void;
11export interface StyleElementContent {
12 ids: Set<string>;
13 styles: string[];
14 element?: HTMLStyleElement;
15}