UNPKG

typestyle-extensions

Version:

A useful collection of typestyle extensions and helper functions to make working with TypeStyle even more pleasant

7 lines (6 loc) 290 B
import { IStylesheet } from './utilTypes'; export default function createStyles<T extends { [classKey: string]: IStylesheet; }, K extends keyof T, O extends { [classKey in K]: string; }>(styles: T, classNamePrefix?: string, createNewSheet?: boolean, useFriendlyNames?: boolean): O;