diff --git a/types/index.d.ts b/types/index.d.ts index 5e04d88..4322933 100644 --- a/types/index.d.ts +++ b/types/index.d.ts @@ -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( key: string | { id: string; segment: string }, @@ -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 }; }