chore: fix typo in codegen (#92)
This commit is contained in:
parent
a84a2b252d
commit
12abcba2c5
@ -180,7 +180,7 @@ export function generate(
|
|||||||
if (mode === 'function') {
|
if (mode === 'function') {
|
||||||
// Generate const declaration for helpers
|
// Generate const declaration for helpers
|
||||||
// In prefix mode, we place the const declaration at top so it's done
|
// 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.
|
// with block so it doesn't incur the `in` check cost for every helper access.
|
||||||
if (hasImports) {
|
if (hasImports) {
|
||||||
if (prefixIdentifiers) {
|
if (prefixIdentifiers) {
|
||||||
|
Loading…
Reference in New Issue
Block a user