@allow-large-files Upgrade typescript

Summary: This diff updates the typescript version and it fixes `yarn lint:tsc`. It also successfully pointed out fes of the problems in our codebase. I have fixed those problems

Reviewed By: mweststrate

Differential Revision: D21548003

fbshipit-source-id: e69c986ee3c763588d9e1e290dad08d1cf1976a8
This commit is contained in:
Pritesh Nandgaonkar
2020-05-13 06:55:10 -07:00
committed by Facebook GitHub Bot
parent 76a177a282
commit dcaff4babc
7 changed files with 12 additions and 5 deletions

View File

@@ -141,7 +141,7 @@ export default class FlipperImagesPlugin extends FlipperPlugin<
}
pluginData = {
...pluginData,
events: [{eventId: index, ...event}, ...pluginData.events],
events: [{...event, eventId: index}, ...pluginData.events],
};
});
const idSet: Set<string> = levels.reduce((acc, level: CacheInfo) => {