Skip to content

Commit

Permalink
fix(types): Add flush method to the types. (#107)
Browse files Browse the repository at this point in the history
  • Loading branch information
zmtmaster committed Mar 21, 2021
1 parent 3721b60 commit c2dc9b0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ declare module '@react-native-cookies/cookies' {
getFromResponse(url: string): Promise<Cookies>;

clearAll(useWebKit?: boolean): Promise<boolean>;

flush(): Promise<void>;

//iOS only
getAll(useWebKit?: boolean): Promise<Cookies>;
Expand Down

0 comments on commit c2dc9b0

Please sign in to comment.