Page MenuHomePhabricator

[keyserver] Introduce `OLMUtility` type
ClosedPublic

Authored by atul on Feb 27 2023, 1:39 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Sep 23, 8:52 AM
Unknown Object (File)
Sun, Sep 15, 10:39 AM
Unknown Object (File)
Sun, Sep 15, 10:39 AM
Unknown Object (File)
Sun, Sep 15, 10:39 AM
Unknown Object (File)
Sun, Sep 15, 8:23 AM
Unknown Object (File)
Sun, Sep 15, 8:11 AM
Unknown Object (File)
Mon, Sep 2, 3:35 PM
Unknown Object (File)
Thu, Aug 29, 9:40 PM
Subscribers
None

Details

Summary

The getOLMUtility() function we introduce is going to need to return Promise<OLMUtility>.

Based on the TypeScript typedefs:

fe511b.png (500×3 px, 196 KB)

Test Plan

Will be tested implicitly by subsequent diffs.

Diff Detail

Repository
rCOMM Comm
Branch
arcpatch-D6900 (branched from master)
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

The index.d.ts is pretty short (130 characters lines), might be worth typing the library since I imagine we're going to use it quite a bit going forward. Not going to create a task at the moment, I think it'll be clear when we need to do it.

https://linear.app/comm/issue/ENG-3138/type-olm-library-for-flow

atul published this revision for review.Feb 27 2023, 1:42 PM
This revision is now accepted and ready to land.Feb 27 2023, 1:45 PM
This revision was landed with ongoing or failed builds.Feb 27 2023, 3:16 PM
This revision was automatically updated to reflect the committed changes.