// Type definitions for inline-style-prefixer 3.0 // Project: https://github.com/rofrischmann/inline-style-prefixer // Definitions by: Andrej Hazucha // dpetrezselyova // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped declare namespace InlineStylePrefixer { interface Configuration { userAgent?: string; keepUnprefixed?: boolean; } } declare class InlineStylePrefixer { constructor(cfg?: InlineStylePrefixer.Configuration); prefix(style: CSSStyleDeclaration): CSSStyleDeclaration; // support for React.CSSProperties prefix(style: T): T; static prefixAll(style: CSSStyleDeclaration): CSSStyleDeclaration; // support for React.CSSProperties static prefixAll(style: T): T; } export = InlineStylePrefixer;