Skip to content

Commit 4a84371

Browse files
author
Viktor Pasynok
committed
added: light type tests
1 parent ed69782 commit 4a84371

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/__tests__/payload.spec-d.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,5 +32,5 @@ payload({
3232
payload({
3333
fn: (data) => ({ label: data.name }),
3434
// @ts-expect-error expected { label: string } but got { wrong: number }
35-
component: (props: { wrong: number }) => <div />,
35+
component: (_: { wrong: number }) => <div />,
3636
});

0 commit comments

Comments
 (0)