Fix: inject function options dictionary has wrong type definition (#6231)

This commit is contained in:
Berke Anday Baloglu
2022-06-23 20:14:50 +03:00
committed by GitHub
parent b91f360f40
commit 233cce8883

View File

@@ -25686,7 +25686,7 @@ declare module "core/inject" {
* @return {!WorkspaceSvg} Newly created main workspace.
* @alias Blockly.inject
*/
export function inject(container: Element | string, opt_options?: (() => void) | undefined): WorkspaceSvg;
export function inject(container: Element | string, opt_options?: Object | undefined): WorkspaceSvg;
import { WorkspaceSvg } from "core/workspace_svg";
}
declare module "core/blockly" {