We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1cf3e19 commit ae70887Copy full SHA for ae70887
1 file changed
examples/sample-app-ts/src/index.ts
@@ -30,7 +30,7 @@ const ws = Blockly.inject(blocklyDiv, {toolbox});
30
// generated code from the workspace, and evals the code.
31
// In a real application, you probably shouldn't use `eval`.
32
const runCode = () => {
33
- const code = javascriptGenerator.workspaceToCode(ws);
+ const code = javascriptGenerator.workspaceToCode(ws as Blockly.Workspace);
34
if (codeDiv) codeDiv.textContent = code;
35
36
if (outputDiv) outputDiv.innerHTML = '';
0 commit comments