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.
2 parents 5fc99ad + e39466e commit 98f6abdCopy full SHA for 98f6abd
twitter-openapi-typescript/package.json
@@ -1,6 +1,6 @@
1
{
2
"name": "twitter-openapi-typescript",
3
- "version": "0.0.11",
+ "version": "0.0.12",
4
"description": "Implementation of Twitter internal API in TypeScript",
5
"scripts": {
6
"test": "jest",
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