Skip to content

Commit 075889e

Browse files
committed
chore: comments
1 parent 0b8b576 commit 075889e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

packages/compiler-sfc/src/compileScript.ts

+2
Original file line numberDiff line numberDiff line change
@@ -947,6 +947,8 @@ export function compileScript(
947947
}
948948
}
949949
returned = `{ ${Object.keys(allBindings).join(', ')}${
950+
// the `__isScriptSetup: true` flag is used by componentPublicInstance
951+
// proxy to allow properties that start with $ or _
950952
__TEST__ ? `` : `, __isScriptSetup: true`
951953
} }`
952954
}

0 commit comments

Comments
 (0)