mirror of
https://github.com/supabase/supabase.git
synced 2026-10-05 09:25:06 +03:00
Hide union children
This commit is contained in:
1 parent
5a66b88ea8
commit
ab9ed4e41c
1 file changed
+2
-1
@@ -130,7 +130,8 @@ function recurseThroughParams(paramDefinition: TsDoc.TypeDefinition) {
|
||||
if (param.type?.declaration?.children) {
|
||||
children = param.type?.declaration?.children
|
||||
} else if (isUnion(param)) {
|
||||
children = param.type.types
|
||||
// children = param.type.types
|
||||
children = null // We don't want to show the union types
|
||||
} else if (param.type === 'reflection') {
|
||||
children = param.declaration.children
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user