Replies: 1 comment
-
As workaround i installed there npm packages somewhere outside the project and use JSDoc to specify types (
/**
*
* @param {typeof import('@wordpress/blocks')} blocks
* @param {typeof import('@wordpress/element')} element
* @param {typeof import('@wordpress/block-editor')} blockEditor
*/
function ({blocks, element, blockEditor}) { /* ... */ }
)(window.wp) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
How to get hints about a global vp variable? Where can I find the type of this variable?
Beta Was this translation helpful? Give feedback.
All reactions