Skip to content

Commit

Permalink
Use StyleSheet type for sheet argument
Browse files Browse the repository at this point in the history
  • Loading branch information
blakeembrey committed Aug 11, 2017
1 parent eb18f8e commit 289b348
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ export interface Options <S extends string> {
*/
export function registerStyleSheet <T extends string> (
Style: Registry,
sheet?: { [P in T]: StyleValue<T> },
sheet?: StyleSheet<T>,
options: Options<T> = {}
): StyleMap<T> {
const styles: StyleMap<T> = Object.create(null)
Expand Down

0 comments on commit 289b348

Please sign in to comment.