Skip to content

Commit

Permalink
fix: typescript errors
Browse files Browse the repository at this point in the history
  • Loading branch information
jagadhis committed Oct 4, 2024
1 parent f2e9896 commit 2fcc33a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .eslintrc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ rules:
no-unused-vars: off
unused-imports/no-unused-vars: off
unused-imports/no-unused-imports: warn
'@typescript-eslint/no-non-null-asserted-optional-chain': off
'@typescript-eslint/no-explicit-any': off
'@typescript-eslint/no-unused-vars':
- warn
- args: after-used
Expand Down
4 changes: 2 additions & 2 deletions components/posts/list.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -111,10 +111,10 @@ export function PostsList({
currentUserId={currentUserId}
hasAccess={hasAccess}
layout={view}
// @ts-ignore
// @ts-expect-error: will improve ts later
post={post}
postType={post.postType}
// @ts-ignore
// @ts-expect-error: will improve ts later
user={post.user!}
/>
</Link>
Expand Down

0 comments on commit 2fcc33a

Please sign in to comment.