Skip to content

Commit 65d94ae

Browse files
committed
Fix cache option type.
1 parent e43a7d7 commit 65d94ae

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ interface Options {
4141
string,
4242
{promise: Promise<any>, size: number} |
4343
{value: any, eTag?: string, status: number, headers: any, size: number, expiry?: number}
44-
>;
44+
> | null;
4545
userAgent?: string;
4646
autoQueryRateLimit?: boolean;
4747

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "hubkit",
3-
"version": "6.0.1",
3+
"version": "6.0.2",
44
"description": "GitHub API library for JavaScript, promise-based, for both NodeJS and the browser",
55
"main": "index.js",
66
"types": "index.d.ts",

0 commit comments

Comments
 (0)