Description
- The typedef for
registerBlockType does not properly encode that name is only loaded from the first parameter.
- The typedef for
BlockType does not properly accept lists of entrypoints for the script and style fields
I'll have a PR up shortly.
Step-by-step reproduction instructions
- Try to add multiple entrypoints to the same script or style key in a block type and then try to register it. It won't compile despite multiple entrypoints per script/style key being supported
Screenshots, screen recording, code snippet
No response
Environment info
No response
Please confirm that you have searched existing issues in the repo.
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Please confirm which theme type you used for testing.
Description
registerBlockTypedoes not properly encode thatnameis only loaded from the first parameter.BlockTypedoes not properly accept lists of entrypoints for the script and style fieldsI'll have a PR up shortly.
Step-by-step reproduction instructions
Screenshots, screen recording, code snippet
No response
Environment info
No response
Please confirm that you have searched existing issues in the repo.
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Please confirm which theme type you used for testing.