Skip to content

Commit 015d807

Browse files
penalosaanonrig
andcommitted
Update types/src/generator/index.ts
Co-authored-by: Yagiz Nizipli <[email protected]>
1 parent 8ecdce7 commit 015d807

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

types/src/generator/index.ts

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -68,10 +68,8 @@ function collectIncluded(map: StructureMap, root?: string): Set<string> {
6868
case Type_Which.DICT: {
6969
const dict = type.dict;
7070
visitType(dict.key);
71-
{
72-
visitType(dict.value);
73-
return;
74-
}
71+
visitType(dict.value);
72+
return;
7573
}
7674
case Type_Which.ONE_OF: {
7775
type.oneOf.variants.forEach(visitType);

0 commit comments

Comments
 (0)