Files
blockly/typings
Neil Fraser b46a4fe286 Bring our license format up to date (#3127)
* Google changed from an Inc to an LLC.

This happened back in 2017 but we didn’t notice.  Officially we should update files from Inc to LLC when they are changed as part of regular edits, but this is a nightmare to remember for the next decade.

* Remove project description/titles from licenses

This is no longer part of Google’s header requirements.  Our existing descriptions were useless (“Visual Blocks Editor”) or grossly obselete (“Visual Blocks Language”).

* License no longer requires URL.

* Fix license regexps.
2019-10-02 14:46:56 -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.