Skip to content

Commit

Permalink
fix: Use Omit instead of Exclude
Browse files Browse the repository at this point in the history
  • Loading branch information
knipec committed Jun 14, 2024
1 parent 87b86f7 commit 99bc629
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/account/accountSlice.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ export type User = {
preferences: Record<string, string>;
};

export type SimpleUserInfo = Exclude<User, 'preferences'>;
export type SimpleUserInfo = Omit<User, 'preferences'>;

export const setHasAccessTokenAsync = createAsyncThunk(
'account/setHasAccessTokenAsync',
Expand Down

0 comments on commit 99bc629

Please sign in to comment.