Skip to content

Commit 8a6b50f

Browse files
authored
Merge pull request #102 from taoqf/master
add types
2 parents 837637b + 0b8f75f commit 8a6b50f

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

index.d.ts

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
export interface Style {
2+
[key: string]: string | number | Style;
3+
}
4+
5+
export function getPropertyName(name: string): string;
6+
export function getStylesForProperty(name: string, value: string, allowShorthand?: boolean): Style;
7+
8+
export default function transform(css: Array<[string, string]>, shorthandBlacklist?: string[]): Style;

0 commit comments

Comments
 (0)