mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-14 12:09:04 +08:00
[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:
committed by
Sheetal Nandi
parent
1840c35cad
commit
9fee92dff8
14
types/inline-style-prefixer/index.d.ts
vendored
14
types/inline-style-prefixer/index.d.ts
vendored
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user