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

Improve pluginManager.jexl typescript definition #4114

Merged
merged 1 commit into from
Dec 5, 2023
Merged

Conversation

cmdcolin
Copy link
Collaborator

@cmdcolin cmdcolin commented Dec 5, 2023

for some reason the 'jexl' property is explicitly marked as type any, when it might not need to be. this makes usage of e.g. pluginManager.jexl.addFunction not recognized by typescript. this PR tries to type it better

@cmdcolin
Copy link
Collaborator Author

cmdcolin commented Dec 5, 2023

I don't see any issue from the CI so i think it should be ok

@cmdcolin cmdcolin added the enhancement New feature or request label Dec 5, 2023
@cmdcolin cmdcolin changed the title Jexl re-export Improve pluginManager.jexl typescript definition Dec 5, 2023
@cmdcolin cmdcolin merged commit 45ed9d3 into main Dec 5, 2023
10 of 11 checks passed
@cmdcolin cmdcolin deleted the jexl_reexport branch December 5, 2023 20:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant