Page MenuHomePhabricator

[lib] Make Blob service facts types more strict
ClosedPublic

Authored by bartek on Oct 10 2024, 2:33 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Nov 13, 11:58 AM
Unknown Object (File)
Tue, Nov 12, 3:07 PM
Unknown Object (File)
Tue, Nov 12, 2:48 PM
Unknown Object (File)
Tue, Nov 12, 1:14 PM
Unknown Object (File)
Sat, Nov 9, 8:08 AM
Unknown Object (File)
Sat, Nov 2, 1:18 AM
Unknown Object (File)
Fri, Nov 1, 7:09 AM
Unknown Object (File)
Fri, Nov 1, 6:38 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.Oct 10 2024, 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/