Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/language-service/lib/plugins/vue-inlayhints.ts
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ export function findDestructuredProps(
ast: ts.SourceFile,
props: Set<string>
) {
const rootScope: Scope = {};
const rootScope: Scope = Object.create(null);
const scopeStack: Scope[] = [rootScope];
let currentScope: Scope = rootScope;
const excludedIds = new WeakSet<ts.Identifier>();
Expand Down