diff --git a/typings/blockly.d.ts b/typings/blockly.d.ts index c13b1f098b3..d82637ff2af 100644 --- a/typings/blockly.d.ts +++ b/typings/blockly.d.ts @@ -522,13 +522,13 @@ declare module "core/blocks" { * A block definition. For now this very lose, but it can potentially * be refined e.g. by replacing this typedef with a class definition. */ - export type BlockDefinition = Object; + export type BlockDefinition = any; /** * A block definition. For now this very lose, but it can potentially * be refined e.g. by replacing this typedef with a class definition. * @typedef {!Object} */ - export let BlockDefinition: any; + // export let BlockDefinition: any; /** * A mapping of block type names to block prototype objects. * @type {!Object} diff --git a/typings/dart.d.ts b/typings/dart.d.ts index e3b27298e14..3979aa3c081 100644 --- a/typings/dart.d.ts +++ b/typings/dart.d.ts @@ -12,5 +12,5 @@ /// import * as Blockly from './core'; -declare const dart: Blockly.Generator; +declare const dart: any; export = dart; diff --git a/typings/index.d.ts b/typings/index.d.ts index 84d97360cfb..038acf631bd 100644 --- a/typings/index.d.ts +++ b/typings/index.d.ts @@ -14,8 +14,7 @@ /// /// -import { Generator } from 'core/blockly'; export * from './core'; export * as libraryBlocks from './blocks'; -export const JavaScript: Generator; +export const JavaScript: any; import './msg/msg'; diff --git a/typings/javascript.d.ts b/typings/javascript.d.ts index 25241944379..dba476f7a32 100644 --- a/typings/javascript.d.ts +++ b/typings/javascript.d.ts @@ -12,5 +12,5 @@ /// import * as Blockly from './core'; -declare const javascript: Blockly.Generator; +declare const javascript: any; export = javascript; diff --git a/typings/lua.d.ts b/typings/lua.d.ts index 235cfe59211..b58d485869a 100644 --- a/typings/lua.d.ts +++ b/typings/lua.d.ts @@ -12,5 +12,5 @@ /// import * as Blockly from './core'; -declare const lua: Blockly.Generator; +declare const lua: any; export = lua; diff --git a/typings/php.d.ts b/typings/php.d.ts index ce64895f4e5..092d107f3ef 100644 --- a/typings/php.d.ts +++ b/typings/php.d.ts @@ -12,5 +12,5 @@ /// import * as Blockly from './core'; -declare const php: Blockly.Generator; +declare const php: any; export = php; diff --git a/typings/python.d.ts b/typings/python.d.ts index 0ee3f36d11d..beb58fba91b 100644 --- a/typings/python.d.ts +++ b/typings/python.d.ts @@ -12,5 +12,5 @@ /// import * as Blockly from './core'; -declare const python: Blockly.Generator; +declare const python: any; export = python;