Skip to content

Commit 50c61ba

Browse files
authored
fix(auto api): query too strict (#998)
1 parent 5b3cf6d commit 50c61ba

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

apps/website/auto-api.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,7 @@ const parser = new Parser();
1616

1717
const query = new Query(
1818
TS.tsx,
19-
`declaration:
20-
(type_alias_declaration
19+
`(type_alias_declaration
2120
name: (type_identifier) @subComponentName
2221
(intersection_type
2322
(object_type

0 commit comments

Comments
 (0)