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)
Sat, Dec 28, 2:08 AM
Unknown Object (File)
Sat, Dec 28, 2:08 AM
Unknown Object (File)
Mon, Dec 23, 1:49 AM
Unknown Object (File)
Sun, Dec 22, 8:44 PM
Unknown Object (File)
Sun, Dec 22, 8:28 PM
Unknown Object (File)
Wed, Dec 18, 8:39 AM
Unknown Object (File)
Wed, Dec 18, 8:38 AM
Unknown Object (File)
Wed, Dec 18, 8:36 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/