storj/web
Jeremy Wharton 587fa8fdff private/apigen: use correct TS type for nillable fields
This change gives the proper type to TS class fields generated from
nillable Go struct fields. Previously, Go struct fields having a nil
representation ([]Type, *Type, etc.) were translated into TypeScript as
"Type | undefined". This isn't correct because these fields, when nil,
are given the value "null" when marshalled into JSON. This change fixes
this issue by giving these fields the type "Type | null".

Change-Id: I5a1a83eb3810a3cba10895bb2f0f75ca5fd7d1b5
2023-11-21 17:58:07 +00:00
..
multinode web/multinode: Show Storj tokens on Etherscan (#6483) 2023-11-17 17:57:53 +01:00
satellite private/apigen: use correct TS type for nillable fields 2023-11-21 17:58:07 +00:00
storagenode web/storagenode: zksync era compatible links wallet/transactions 2023-06-08 13:47:02 +00:00