mirror of
https://github.com/google/blockly.git
synced 2026-03-10 23:30:13 +01:00
Update typings script and fix two typing issues: (#4542)
This commit is contained in:
@@ -1070,3 +1070,15 @@ Blockly.Flyout.prototype.wheel_;
|
||||
* @protected
|
||||
*/
|
||||
Blockly.Flyout.prototype.reflowInternal_;
|
||||
|
||||
/**
|
||||
* Calculates the x coordinate for the flyout position.
|
||||
* @return {number} X coordinate.
|
||||
*/
|
||||
Blockly.Flyout.prototype.getX;
|
||||
|
||||
/**
|
||||
* Calculates the y coordinate for the flyout position.
|
||||
* @return {number} Y coordinate.
|
||||
*/
|
||||
Blockly.Flyout.prototype.getY;
|
||||
|
||||
@@ -26,7 +26,6 @@ function typings() {
|
||||
const tmpDir = './typings/tmp';
|
||||
const blocklySrcs = [
|
||||
"core/",
|
||||
"core/components",
|
||||
"core/events",
|
||||
"core/keyboard_nav",
|
||||
"core/renderers/common",
|
||||
@@ -67,12 +66,12 @@ function typings() {
|
||||
'typings/templates/blockly-interfaces.template',
|
||||
`${tmpDir}/core/**`,
|
||||
`${tmpDir}/core/interfaces/**`,
|
||||
`${tmpDir}/core/components/**`,
|
||||
`${tmpDir}/core/components/tree/**`,
|
||||
`${tmpDir}/core/events/**`,
|
||||
`${tmpDir}/core/keyboard_nav/**`,
|
||||
`${tmpDir}/core/renderers/common/**`,
|
||||
`${tmpDir}/core/renderers/measurables/**`,
|
||||
`${tmpDir}/core/utils/**`,
|
||||
`${tmpDir}/core/toolbox/**`,
|
||||
`${tmpDir}/core/theme/**`,
|
||||
`${tmpDir}/msg/**`
|
||||
];
|
||||
|
||||
6544
typings/blockly.d.ts
vendored
6544
typings/blockly.d.ts
vendored
File diff suppressed because it is too large
Load Diff
16
typings/msg/zgh.d.ts
vendored
Normal file
16
typings/msg/zgh.d.ts
vendored
Normal file
@@ -0,0 +1,16 @@
|
||||
/**
|
||||
* @license
|
||||
* Copyright 2020 Google LLC
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
/**
|
||||
* @fileoverview Type definitions for the Blockly zgh locale.
|
||||
* @author samelh@google.com (Sam El-Husseini)
|
||||
*/
|
||||
|
||||
/// <reference path="msg.d.ts" />
|
||||
|
||||
import BlocklyMsg = Blockly.Msg;
|
||||
export = BlocklyMsg;
|
||||
|
||||
@@ -39,7 +39,6 @@ declare module Blockly {
|
||||
pinch?: boolean;
|
||||
};
|
||||
renderer?: string;
|
||||
keyMap?: {[type: string]: Blockly.Action;};
|
||||
parentWorkspace?: Blockly.WorkspaceSvg;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user