Page MenuHomePhabricator

[lib] Make Blob service facts types more strict
ClosedPublic

Authored by bartek on Thu, Oct 10, 2:33 PM.
Tags
None
Referenced Files
F2986899: D13696.id45134.diff
Wed, Oct 16, 2:27 PM
F2986497: D13696.id45136.diff
Wed, Oct 16, 2:03 PM
F2986489: D13696.id45091.diff
Wed, Oct 16, 1:58 PM
F2984016: D13696.diff
Wed, Oct 16, 11:52 AM
Unknown Object (File)
Tue, Oct 15, 9:58 AM
Unknown Object (File)
Sun, Oct 13, 3:27 PM
Unknown Object (File)
Sat, Oct 12, 6:49 AM
Unknown Object (File)
Sat, Oct 12, 6:06 AM
Subscribers

Details

Summary

Part of ENG-9422 about making types more strict.
Helps to avoid issues like ENG-9584.

Test Plan

Flow

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

ashoat added inline comments.
lib/facts/blob-service.js
6–11 ↗(On Diff #45091)
14–15 ↗(On Diff #45091)

Interesting, I didn't know about this format

This revision is now accepted and ready to land.Thu, Oct 10, 5:59 PM
lib/facts/blob-service.js
14–15 ↗(On Diff #45091)

Me neither but I found it in the docs https://flow.org/en/docs/types/indexed-access/