We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d18d6aa commit 215e154Copy full SHA for 215e154
packages/compiler-sfc/src/script/definePropsDestructure.ts
@@ -102,7 +102,7 @@ export function transformDestructuredProps(
102
return
103
}
104
105
- const rootScope: Scope = {}
+ const rootScope: Scope = Object.create(null)
106
const scopeStack: Scope[] = [rootScope]
107
let currentScope: Scope = rootScope
108
const excludedIds = new WeakSet<Identifier>()
0 commit comments