Skip to content

feat(language-service): set the kind of props inherited from intrinsic elements to Value instead of Field #5315

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 17 commits into from
Apr 13, 2025
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
chore: lint
  • Loading branch information
KazariEX committed Apr 13, 2025
commit bafa90a0a69635b7a17e723600df13527744e829
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ export function getComponentProps(
}

let isAttribute: boolean | undefined;
for (const { parent } of checker.getRootSymbols(prop).flatMap((root) => root.declarations ?? [])) {
for (const { parent } of checker.getRootSymbols(prop).flatMap(root => root.declarations ?? [])) {
if (!ts.isInterfaceDeclaration(parent)) {
continue;
}
Expand Down