Skip to content

Commit eaefd95

Browse files
committed
fix
Signed-off-by: ふぁ <yuki@yuki0311.com>
1 parent 2d02f0d commit eaefd95

File tree

1 file changed

+1
-2
lines changed
  • twitter-openapi-typescript/src/utils

1 file changed

+1
-2
lines changed

twitter-openapi-typescript/src/utils/api.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,8 @@ export const instructionToEntry = (item: i.InstructionUnion[]): i.TimelineAddEnt
77
return (e as i.TimelineAddEntries).entries;
88
} else if (e.type == i.InstructionType.TimelineReplaceEntry) {
99
return [(e as i.TimelineReplaceEntry).entry];
10-
} else {
11-
return null;
1210
}
11+
return [];
1312
});
1413
};
1514

0 commit comments

Comments
 (0)