File tree 9 files changed +22
-16
lines changed
9 files changed +22
-16
lines changed Original file line number Diff line number Diff line change @@ -531,13 +531,13 @@ declare module "core/blocks" {
531
531
* A block definition. For now this very lose, but it can potentially
532
532
* be refined e.g. by replacing this typedef with a class definition.
533
533
*/
534
- export type BlockDefinition = Object ;
534
+ export type BlockDefinition = any ;
535
535
/**
536
536
* A block definition. For now this very lose, but it can potentially
537
537
* be refined e.g. by replacing this typedef with a class definition.
538
538
* @typedef {!Object}
539
539
*/
540
- export let BlockDefinition: any;
540
+ // export let BlockDefinition: any;
541
541
/**
542
542
* A mapping of block type names to block prototype objects.
543
543
* @type {!Object<string,!BlockDefinition>}
Original file line number Diff line number Diff line change 11
11
12
12
/// <reference path="core.d.ts" />
13
13
14
- import * as Blockly from './core' ;
15
- export = Blockly . Blocks ;
14
+ export const colour : any ;
15
+ export const lists : any ;
16
+ export const logic : any ;
17
+ export const loops : any ;
18
+ export const math : any ;
19
+ export const procedures : any ;
20
+ export const texts : any ;
21
+ export const variables : any ;
22
+ export const variablesDynamic : any ;
23
+
24
+ export const blocks : any ;
Original file line number Diff line number Diff line change 11
11
12
12
/// <reference path="blockly.d.ts" />
13
13
14
- import * as Blockly from 'blockly' ;
15
- export = Blockly ;
14
+ export * from 'core/blockly' ;
Original file line number Diff line number Diff line change 12
12
/// <reference path="core.d.ts" />
13
13
14
14
import * as Blockly from './core' ;
15
- declare const dart : Blockly . Generator ;
15
+ declare const dart : any ;
16
16
export = dart ;
Original file line number Diff line number Diff line change 14
14
/// <reference path="javascript.d.ts" />
15
15
/// <reference path="msg/msg.d.ts" />
16
16
17
- import * as Blockly from './core' ;
18
- import './blocks' ;
19
- import './javascript' ;
17
+ export * from './core' ;
18
+ export * as libraryBlocks from './blocks' ;
19
+ export const JavaScript : any ;
20
20
import './msg/msg' ;
21
-
22
- export = Blockly ;
Original file line number Diff line number Diff line change 12
12
/// <reference path="core.d.ts" />
13
13
14
14
import * as Blockly from './core' ;
15
- declare const javascript : Blockly . Generator ;
15
+ declare const javascript : any ;
16
16
export = javascript ;
Original file line number Diff line number Diff line change 12
12
/// <reference path="core.d.ts" />
13
13
14
14
import * as Blockly from './core' ;
15
- declare const lua : Blockly . Generator ;
15
+ declare const lua : any ;
16
16
export = lua ;
Original file line number Diff line number Diff line change 12
12
/// <reference path="core.d.ts" />
13
13
14
14
import * as Blockly from './core' ;
15
- declare const php : Blockly . Generator ;
15
+ declare const php : any ;
16
16
export = php ;
Original file line number Diff line number Diff line change 12
12
/// <reference path="core.d.ts" />
13
13
14
14
import * as Blockly from './core' ;
15
- declare const python : Blockly . Generator ;
15
+ declare const python : any ;
16
16
export = python ;
You can’t perform that action at this time.
0 commit comments