mirror of
https://github.com/google/blockly.git
synced 2026-01-10 10:27:08 +01:00
* chore: remove radix from parseInt Previously any number starting with '0' would be parsed as octal if the radix was left blank. But this was changed years ago. It is no longer needed to specify a radix. * chore: 'ID' is identification 'id' is a part of Freud's brain. * Use Unicode characters instead of codes This is in line with the current style guide. * Simplify Blockly.utils.dom methods. classList add/remove/has supports SVG elements in all browsers Blockly supports (i.e. not IE).
blockly.d.ts
This blockly.d.ts file describes the TypeScript type definitions for Blockly.
If you consume Blockly through npm, this file is already included in the npm package.
Otherwise, you can include a copy of this file with your sources and reference it through a Triple-Slash directive.
Generating a new version
To generate a new version of the Typings file, from the Blockly root directory run npm run typings.
You will need to run npm install for this to work.
Note: In order to check for errors in the typings file, run tsc in the typings/ directory.