Files
blockly/typings
Beka Westberg c8dd01ac87 fix: packaging .d.ts files (#6327)
* fix: dts files not being properly included

* fix: hand crafted declaration files pointing to the wrong things
2022-08-08 14:32:03 -07:00
..
2021-10-15 09:50:46 -07:00
2022-08-08 14:32:03 -07:00
2022-08-08 14:32:03 -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.