-
-
Notifications
You must be signed in to change notification settings - Fork 5.2k
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
types: add enablePreview
to context
#8638
Conversation
Thanks @manniL It is a bit tricky indeed since it lives only for static target also. |
True! Should add that in the same PR as well. |
Codecov Report
@@ Coverage Diff @@
## dev #8638 +/- ##
=======================================
Coverage 66.05% 66.05%
=======================================
Files 92 92
Lines 4010 4010
Branches 1104 1104
=======================================
Hits 2649 2649
Misses 1095 1095
Partials 266 266
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
enablePreview
to context
Co-authored-by: Daniel Roe <daniel@roe.dev>
Co-authored-by: Daniel Roe <daniel@roe.dev>
Thanks @manniL @danielroe! |
Somehow the
enablePreview
function was missing in the Context type.As it is only available in plugins, I'm not sure if there is a better way to add it. Open for feedback here!