From 4f6bf0cdaa798a3bc8fb28135a79ff4a36c8a70e Mon Sep 17 00:00:00 2001 From: rgehbt <74761884+Gehbt@users.noreply.github.com> Date: Sat, 17 Feb 2024 15:06:32 +0000 Subject: [PATCH] fix(types): option privacy in Nodenext | Node16 --- types/index.d.ts | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) 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 }; }