From 233cce888391974375cde14af13d6023512cdbba Mon Sep 17 00:00:00 2001 From: Berke Anday Baloglu <31995815+andyanday33@users.noreply.github.com> Date: Thu, 23 Jun 2022 20:14:50 +0300 Subject: [PATCH] Fix: inject function options dictionary has wrong type definition (#6231) --- typings/blockly.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/typings/blockly.d.ts b/typings/blockly.d.ts index d82637ff2..dce24590f 100644 --- a/typings/blockly.d.ts +++ b/typings/blockly.d.ts @@ -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" {