Adding Rust's types to JS codebase.
We have right now fragmentary types in tunnelbroker-messages.js but this file will be removed, after new shared interface will be implemented.
Differential D9596
[lib] define Tunnelbroker API in Flow types kamil on Oct 25 2023, 6:17 AM. Authored by Tags None Referenced Files
Details Adding Rust's types to JS codebase. We have right now fragmentary types in tunnelbroker-messages.js but this file will be removed, after new shared interface will be implemented. Flow
Diff Detail
Event TimelineComment Actions Nit: I would prefer to see the validators just below the corresponding type definition. IMO it makes it harder for people to forget to update validators when updating the types.
|