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

The Menu type declaration is missing the "show" and "hide" methods #2295

Closed
dchenk opened this issue Sep 14, 2021 · 1 comment
Closed

The Menu type declaration is missing the "show" and "hide" methods #2295

dchenk opened this issue Sep 14, 2021 · 1 comment
Labels
Type: Enhancement Issue contains an enhancement related to a specific component. Additional functionality has been add
Milestone

Comments

@dchenk
Copy link
Contributor

dchenk commented Sep 14, 2021

There is no guarantee in receiving an immediate response in GitHub Issue Tracker, If you'd like to secure our response, you may consider PrimeReact PRO Support where support is provided within 4 business hours

I'm submitting a ... (check one with "x")

[X] bug report
[ ] feature request
[ ] support request => Please do not submit support request here, instead see https://forum.primefaces.org/viewforum.php?f=57

Codesandbox Case (Bug Reports)

N/A

Current behavior

The TypeScript declaration file src/components/menu/Menu.d.ts is missing the "show" and "hide" methods for the Menu class. I've tested that these methods are in fact implemented.

Expected behavior

These two methods should be included in the declared Menu type.

Minimal reproduction of the problem with instructions

N/A

Please tell us about your environment:

N/A

React version:

17

PrimeReact version:

6.5.1

Browser:

N/A

Language:

TypeScript

@dchenk
Copy link
Contributor Author

dchenk commented Sep 14, 2021

A fix is available in #2296

@mertsincan mertsincan added the Type: Enhancement Issue contains an enhancement related to a specific component. Additional functionality has been add label Nov 3, 2021
@mertsincan mertsincan added this to the 7.0.0.Final milestone Nov 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Enhancement Issue contains an enhancement related to a specific component. Additional functionality has been add
Projects
None yet
Development

No branches or pull requests

2 participants