We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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 gives the following error
Argument of type '"Mouse"' is not assignable to parameter of type 'keyof jBoxOptionsMap'.
When compiling a jBox tooltip that is declared like this
const freq_tooltip = new jBox("Mouse", {
Adding the following to the jBoxOptionsMap interface (declared in jBox.d.ts) appears to rectify the issue
jBoxOptionsMap
declare interface jBoxOptionsMap { Tooltip: jBox.jBoxOptions; Modal: jBox.jBoxOptions; Confirm: jBox.jBoxConfirmOptions; Notice: jBox.jBoxNoticeOptions; Image: jBox.jBoxImageOptions; Mouse: jBox.jBoxOptions; }
But I'm not versed enough in either typescript or the jBox code base to know if that is a valid fix or not.
The text was updated successfully, but these errors were encountered:
Should be fixed in version v1.3.3
Sorry, something went wrong.
Thank you!
No branches or pull requests
Typescript gives the following error
When compiling a jBox tooltip that is declared like this
Adding the following to the
jBoxOptionsMap
interface (declared in jBox.d.ts) appears to rectify the issueBut I'm not versed enough in either typescript or the jBox code base to know if that is a valid fix or not.
The text was updated successfully, but these errors were encountered: