Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

typescript-eslint@6.1.0 #3288

Merged
merged 2 commits into from
Jul 19, 2023
Merged

typescript-eslint@6.1.0 #3288

merged 2 commits into from
Jul 19, 2023

Conversation

@nstepien nstepien self-assigned this Jul 19, 2023
@nstepien nstepien marked this pull request as ready for review July 19, 2023 11:24
@nstepien nstepien enabled auto-merge (squash) July 19, 2023 11:24
@@ -51,7 +51,6 @@ export function useCalculatedColumns<R, SR>({
let lastFrozenColumnIndex = -1;

const columns = rawColumns.map((rawColumn) => {
// eslint-disable-next-line @typescript-eslint/prefer-nullish-coalescing
const frozen = rawColumn.frozen || false;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why do we not use rawColumn.frozen ?? false;?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You're right, we can safely use ?? here

@nstepien nstepien merged commit e8faa83 into main Jul 19, 2023
2 checks passed
@nstepien nstepien deleted the tses6 branch July 19, 2023 13:35
adityatoshniwal pushed a commit to pgadmin-org/react-data-grid that referenced this pull request Jul 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants