Skip to content

Commit c2dc9b0

Browse files
authored
fix(types): Add flush method to the types. (#107)
1 parent 3721b60 commit c2dc9b0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

index.d.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ declare module '@react-native-cookies/cookies' {
2222
getFromResponse(url: string): Promise<Cookies>;
2323

2424
clearAll(useWebKit?: boolean): Promise<boolean>;
25+
26+
flush(): Promise<void>;
2527

2628
//iOS only
2729
getAll(useWebKit?: boolean): Promise<Cookies>;

0 commit comments

Comments
 (0)