Allow .js script files to refer to Blockly global from blockly.d.ts (#4434)

This commit is contained in:
David Foster
2020-11-16 14:12:10 -08:00
committed by GitHub
parent cc2bb54625
commit 9a2f288dd4
2 changed files with 5 additions and 1 deletions

View File

@@ -11,6 +11,8 @@
export = Blockly; export = Blockly;
export as namespace Blockly;
declare module Blockly { declare module Blockly {
interface BlocklyOptions { interface BlocklyOptions {

View File

@@ -9,4 +9,6 @@
* @author samelh@google.com (Sam El-Husseini) * @author samelh@google.com (Sam El-Husseini)
*/ */
export = Blockly; export = Blockly;
export as namespace Blockly;