Skip to content

Commit 90bf0f0

Browse files
committed
test: replace any with concrete type in type-safety.test.ts (Codex info)
1 parent 7cf6b04 commit 90bf0f0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/__tests__/type-safety.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ const formatMessage = (id: number, message: string, urgent: boolean) => {
2323
function processRequest(
2424
endpoint: string,
2525
payload: { userId: number; data: string },
26-
headers: any,
26+
headers: Record<string, string>,
2727
) {
2828
throw new Error('test');
2929
}

0 commit comments

Comments
 (0)