vue-runtime-helpers
Version:
Runtime helpers for Vue SFC.
16 lines (15 loc) • 394 B
TypeScript
export interface StyleSource {
source: string;
media?: string;
moduleName?: string;
module?: {
[key: string]: string;
};
map?: any;
}
export default function createInjector(context: any): (id: string, style: StyleSource) => void;
export interface StyleElementContent {
ids: Set<string>;
styles: string[];
element?: HTMLStyleElement;
}