diff --git a/index.d.ts b/index.d.ts new file mode 100644 index 0000000..5eef97a --- /dev/null +++ b/index.d.ts @@ -0,0 +1,8 @@ +export interface Style { + [key: string]: string | number | Style; +} + +export function getPropertyName(name: string): string; +export function getStylesForProperty(name: string, value: string, allowShorthand?: boolean): Style; + +export default function transform(css: Array<[string, string]>, shorthandBlacklist?: string[]): Style;