blockly-plugin-type-blockjson
v0.0.5
Published
Type aliases useful for Blockly.
Readme
What's this?
Blockly official guide says:
The JSON format is the preferred method of defining blocks.
This plugin provides type declaration for below kind of JSON data defined in .ts file:
- Block definition
Installation
- Make sure you've installed typescript.
npm install blockly-plugin-type-blockjson.
Usage
import {BlockJson} from 'blockly-plugin-type-blockJSON';
const sampleBlock:BlockJson = {
type:"SampleBlock",...
}Reference
https://yukiya383.github.io/blockly-plugin-type-blockjson/
