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

use-resize-observer typescript return type as any #5847

Closed
2 tasks done
tobeycodes opened this issue Mar 1, 2024 · 1 comment
Closed
2 tasks done

use-resize-observer typescript return type as any #5847

tobeycodes opened this issue Mar 1, 2024 · 1 comment
Labels
Fixed patch Completed issues that will be published with next patch (1.0.X)

Comments

@tobeycodes
Copy link

Dependencies check up

  • I have verified that I use latest version of all @mantine/* packages

What version of @mantine/* packages do you have in package.json?

7.6.1

What package has an issue?

@mantine/hooks

What framework do you use?

Next.js

In which browsers you can reproduce the issue?

All

Describe the bug

In this change the return type is changed to any ec4fcf7

This causes an issue where we are using @typescript-eslint

Unsafe array destructuring of a tuple element with an `any` value  @typescript-eslint/no-unsafe-assignment
Unsafe member access .current on an `any` value                    @typescript-eslint/no-unsafe-member-access

If possible, include a link to a codesandbox with a minimal reproduction

No response

Possible fix

No response

Self-service

  • I would be willing to implement a fix for this issue
@rtivital rtivital added the Fixed patch Completed issues that will be published with next patch (1.0.X) label Mar 12, 2024
@rtivital
Copy link
Member

Fixed in 7.6.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Fixed patch Completed issues that will be published with next patch (1.0.X)
Projects
None yet
Development

No branches or pull requests

2 participants