Skip to content

Commit

Permalink
fix(types): option privacy in Nodenext | Node16 (#137)
Browse files Browse the repository at this point in the history
  • Loading branch information
Gehbt authored Jul 1, 2024
1 parent 01266fa commit 918a06d
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ declare namespace fastifyCaching {
): void;
/**
* If AbstractCache is using useAwait = true, then this method-header must be used.
* @param key
* @param key
*/
get<T = unknown>(
key: string | { id: string; segment: string },
Expand Down Expand Up @@ -130,9 +130,8 @@ declare namespace fastifyCaching {
serverExpiresIn?: number;
}

export const privacy: {
privacy: Privacy;
};
export const privacy: Privacy;

export const fastifyCaching: FastifyCaching;
export { fastifyCaching as default };
}
Expand Down

0 comments on commit 918a06d

Please sign in to comment.