Skip to content

Commit

Permalink
fix: add enabled option type
Browse files Browse the repository at this point in the history
  • Loading branch information
cicerchia committed Aug 21, 2021
1 parent e5ff7ef commit a59472d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/lib/swr.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import { cache } from "./cache";
import { decreaseFetching, increaseFetching } from "./indicator";

interface SWROptions<T> {
enabled: boolean;
initialData?: () => T;
// revalidateOnFocus?: boolean;
// revalidateOnReconnect?: boolean;
Expand Down

0 comments on commit a59472d

Please sign in to comment.