From 075889ebfc90c50573e44f463862d306b0769dca Mon Sep 17 00:00:00 2001 From: Evan You Date: Wed, 23 Jun 2021 10:21:33 -0400 Subject: [PATCH] chore: comments --- packages/compiler-sfc/src/compileScript.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/compiler-sfc/src/compileScript.ts b/packages/compiler-sfc/src/compileScript.ts index 19a6bb61..f802bdff 100644 --- a/packages/compiler-sfc/src/compileScript.ts +++ b/packages/compiler-sfc/src/compileScript.ts @@ -947,6 +947,8 @@ export function compileScript( } } returned = `{ ${Object.keys(allBindings).join(', ')}${ + // the `__isScriptSetup: true` flag is used by componentPublicInstance + // proxy to allow properties that start with $ or _ __TEST__ ? `` : `, __isScriptSetup: true` } }` }