Skip to content

Commit 918a06d

Browse files
authored
fix(types): option privacy in Nodenext | Node16 (#137)
1 parent 01266fa commit 918a06d

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

types/index.d.ts

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ declare namespace fastifyCaching {
5252
): void;
5353
/**
5454
* If AbstractCache is using useAwait = true, then this method-header must be used.
55-
* @param key
55+
* @param key
5656
*/
5757
get<T = unknown>(
5858
key: string | { id: string; segment: string },
@@ -130,9 +130,8 @@ declare namespace fastifyCaching {
130130
serverExpiresIn?: number;
131131
}
132132

133-
export const privacy: {
134-
privacy: Privacy;
135-
};
133+
export const privacy: Privacy;
134+
136135
export const fastifyCaching: FastifyCaching;
137136
export { fastifyCaching as default };
138137
}

0 commit comments

Comments
 (0)