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
F3518802: D13696.id45134.diff
Sun, Dec 22, 8:44 PM
F3518627: D13696.id45091.diff
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
Unknown Object (File)
Sat, Nov 23, 4:42 AM
Unknown Object (File)
Nov 20 2024, 9:20 AM
Unknown Object (File)
Nov 13 2024, 11:58 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/