From 12abcba2c59c7b91bd8b7290c6f0bbd7dfd22653 Mon Sep 17 00:00:00 2001 From: zrh122 <46116414+zrh122@users.noreply.github.com> Date: Sat, 5 Oct 2019 22:29:50 +0800 Subject: [PATCH] chore: fix typo in codegen (#92) --- packages/compiler-core/src/codegen.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/compiler-core/src/codegen.ts b/packages/compiler-core/src/codegen.ts index 8337c3a5..e1befb9e 100644 --- a/packages/compiler-core/src/codegen.ts +++ b/packages/compiler-core/src/codegen.ts @@ -180,7 +180,7 @@ export function generate( if (mode === 'function') { // Generate const declaration for helpers // In prefix mode, we place the const declaration at top so it's done - // only once; But if we not prefixing, we place the decalration inside the + // only once; But if we not prefixing, we place the declaration inside the // with block so it doesn't incur the `in` check cost for every helper access. if (hasImports) { if (prefixIdentifiers) {