We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2d02f0d commit eaefd95Copy full SHA for eaefd95
twitter-openapi-typescript/src/utils/api.ts
@@ -7,9 +7,8 @@ export const instructionToEntry = (item: i.InstructionUnion[]): i.TimelineAddEnt
7
return (e as i.TimelineAddEntries).entries;
8
} else if (e.type == i.InstructionType.TimelineReplaceEntry) {
9
return [(e as i.TimelineReplaceEntry).entry];
10
- } else {
11
- return null;
12
}
+ return [];
13
});
14
};
15
0 commit comments