Skip to content

Commit

Permalink
Merge pull request #177 from otbe/patch-1
Browse files Browse the repository at this point in the history
enhanced typings
  • Loading branch information
threepointone authored Jan 6, 2017
2 parents 946438d + 58f7ea3 commit c3e0f76
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ export interface StyleAttribute {
[attributeName: string]: '';
}

type Rule = StyleAttribute | CSSProperties | null;
type FalsyValues = null | undefined | false;
type Rule = StyleAttribute | CSSProperties | FalsyValues;

/**
* Defines a `rule` with the given key-value pairs. Returns an object (of shape
Expand Down

0 comments on commit c3e0f76

Please sign in to comment.