import * as styledComponents from 'styled-components'; // Styled components typings for using babel-plugin BEFORE typescript declare module 'styled-components' { interface ThemedStyledFunction
{
// adding "| string[]" for transpileTemplateLiterals and similar below
(
strings: TemplateStringsArray | string[],
...interpolations: Interpolation ;
new (
strings: TemplateStringsArray | string[],
...interpolations: Interpolation ;
// adding "withConfig" for transpileTemplateLiterals
withConfig(config: any): ThemedStyledFunction ;
}
export interface ThemedCssFunction (
strings: TemplateStringsArray | string[],
...interpolations: Interpolation