We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
any
1 parent 7cf6b04 commit 90bf0f0Copy full SHA for 90bf0f0
1 file changed
src/__tests__/type-safety.test.ts
@@ -23,7 +23,7 @@ const formatMessage = (id: number, message: string, urgent: boolean) => {
23
function processRequest(
24
endpoint: string,
25
payload: { userId: number; data: string },
26
- headers: any,
+ headers: Record<string, string>,
27
) {
28
throw new Error('test');
29
}
0 commit comments