Q1 2022 Patch 3
maribethb
released this
08 Jun 21:01
·
1480 commits
to master
since this release
What's Changed
This patch releases fixes certain errors with TypeScript declaration files. In v8.0.0-8.0.2, you might have seen a TypeScript error such as: node_modules/blockly/blocks.d.ts:14:26 - error TS2497: This module can only be referenced with ECMAScript imports/exports by turning on the 'allowSyntheticDefaultImports' flag and referencing its default export.
This was due to an error in our declaration files. After this patch, this error should be resolved. You may still have TypeScript type errors even after this patch, as our declarations don't exactly match reality; in such cases you will have to silence the compiler or cast the problematic types to any
.
- fix: Fix errors in TS declarations with blocks and generators by @maribethb in #6200
Full Changelog: blockly-v8.0.2...blockly-v8.0.3