Skip to content

Commit

Permalink
fix: fix export types for
Browse files Browse the repository at this point in the history
flow types for up, down, only, between
  • Loading branch information
mg901 committed Mar 30, 2019
1 parent 28f826f commit 9c8083e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/index.js.flow
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@ type BpProps = {

type RuleFnType = (props: BpProps) => string;

declare function up(breakName: string): RuleFnType;
declare export function up(breakName: string): RuleFnType;

declare function down(breakName: string): RuleFnType;
declare export function down(breakName: string): RuleFnType;

declare function between(minBreak: string, maxBreak: string): RuleFnType;
declare export function between(minBreak: string, maxBreak: string): RuleFnType;

declare function only(breakName: string): RuleFnType;
declare export function only(breakName: string): RuleFnType;

0 comments on commit 9c8083e

Please sign in to comment.