Skip to content

Commit

Permalink
fix: Fix typing error of generators
Browse files Browse the repository at this point in the history
  • Loading branch information
ywwhack committed Apr 6, 2021
1 parent d33866c commit 238257c
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 5 deletions.
3 changes: 2 additions & 1 deletion typings/dart.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,5 @@
/// <reference path="core.d.ts" />

import * as Blockly from './core';
export = Blockly.Generator;
declare const dart: Blockly.Generator;
export = dart;
3 changes: 2 additions & 1 deletion typings/javascript.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,5 @@
/// <reference path="core.d.ts" />

import * as Blockly from './core';
export = Blockly.Generator;
declare const javascript: Blockly.Generator;
export = javascript;
3 changes: 2 additions & 1 deletion typings/lua.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,5 @@
/// <reference path="core.d.ts" />

import * as Blockly from './core';
export = Blockly.Generator;
declare const lua: Blockly.Generator;
export = lua;
3 changes: 2 additions & 1 deletion typings/php.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,5 @@
/// <reference path="core.d.ts" />

import * as Blockly from './core';
export = Blockly.Generator;
declare const php: Blockly.Generator;
export = php;
3 changes: 2 additions & 1 deletion typings/python.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,5 @@
/// <reference path="core.d.ts" />

import * as Blockly from './core';
export = Blockly.Generator;
declare const python: Blockly.Generator;
export = python;

0 comments on commit 238257c

Please sign in to comment.