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
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
Unknown Object (File)
Sat, Oct 12, 6:06 AM
Unknown Object (File)
Sat, Oct 12, 6:05 AM
Unknown Object (File)
Fri, Oct 11, 8:04 AM
Unknown Object (File)
Fri, Oct 11, 6:57 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
No Lint Coverage
Unit
No Test Coverage

Event Timeline

ashoat added inline comments.
lib/facts/blob-service.js
6–11
14–15

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

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