From: zrh122 <46116414+zrh122@users.noreply.github.com> Date: Sat, 5 Oct 2019 14:29:50 +0000 (+0800) Subject: chore: fix typo in codegen (#92) X-Git-Tag: v3.0.0-alpha.0~602 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=12abcba2c59c7b91bd8b7290c6f0bbd7dfd22653;p=thirdparty%2Fvuejs%2Fcore.git chore: fix typo in codegen (#92) --- diff --git a/packages/compiler-core/src/codegen.ts b/packages/compiler-core/src/codegen.ts index 8337c3a58c..e1befb9e10 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) {