[inline-style-prefixer] allowing ES2015 module syntax (#18533)

* [inline-style-prefixer] allowing "import * as InlineStylePrefixer from 'inline-style-prefixer';" syntax

* [inline-style-prefixer] removing redundant export
This commit is contained in:
Andrej Hazucha
2017-10-23 20:48:44 +02:00
committed by Sheetal Nandi
parent 1840c35cad
commit 9fee92dff8

View File

@@ -4,15 +4,15 @@
// dpetrezselyova <https://github.com/dpetrezselyova>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
export = InlineStylePrefixer;
interface Configuration {
userAgent?: string;
keepUnprefixed?: boolean;
declare namespace InlineStylePrefixer {
interface Configuration {
userAgent?: string;
keepUnprefixed?: boolean;
}
}
declare class InlineStylePrefixer {
constructor(cfg?: Configuration);
constructor(cfg?: InlineStylePrefixer.Configuration);
prefix(style: CSSStyleDeclaration): CSSStyleDeclaration;
@@ -24,3 +24,5 @@ declare class InlineStylePrefixer {
// support for React.CSSProperties
static prefixAll<T>(style: T): T;
}
export = InlineStylePrefixer;