Skip to content

Commit d34eed1

Browse files
committed
fix: correct reference to typeName
1 parent d565b0f commit d34eed1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/utilities/generateFlowTypeDocument.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ export default (
3030
const typeNames = Object.keys(groupedProperties);
3131

3232
for (const typeName of typeNames) {
33-
const typeProperties = groupedProperties[typeNames];
33+
const typeProperties = groupedProperties[typeName];
3434

3535
const typeDeclaration = `
3636
export type ${typeName} = {|

0 commit comments

Comments
 (0)