Files
blockly/typings
Rachel Fenichel 07a75dee8d fix: msg imports in type definitions (#5858)
This is a copy of https://github.com/google/blockly/pull/5846/files against master, which will fix https://github.com/google/blockly/issues/5841 in the next patch release.

When we released v7 we committed to making patch releases for typescript definition errors, since our pipeline for typings was convoluted this quarter.
2022-01-07 10:11:13 -08:00
..
2021-10-15 09:50:46 -07:00

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.