From eb79f667e2590bf48b37492c73e532bec2aa18b1 Mon Sep 17 00:00:00 2001 From: echoooooo <2070343088@email.szu.edu.cn> Date: Thu, 5 Dec 2024 00:54:34 +0800 Subject: [PATCH] fix: typo in comment (#8685) --- core/generator.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/generator.ts b/core/generator.ts index 869e29a6a7c..5884b4e5449 100644 --- a/core/generator.ts +++ b/core/generator.ts @@ -24,7 +24,7 @@ import type {Workspace} from './workspace.js'; * @deprecated * @see {@link https://developers.google.com/blockly/guides/create-custom-blocks/generating-code} * @param block The Block instance to generate code for. - * @param genearator The CodeGenerator calling the function. + * @param generator The CodeGenerator calling the function. * @returns A string containing the generated code (for statement blocks), * or a [code, precedence] tuple (for value/expression blocks), or * null if no code should be emitted for block.