Skip to content

Commit 7ccb26d

Browse files
Indicate nullable types for LiveMap IDL
Co-authored-by: Lawrence Forooghian <53756884+lawrence-forooghian@users.noreply.github.com>
1 parent fb6e74c commit 7ccb26d

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

textile/objects-features.textile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -274,9 +274,9 @@ class LiveCounter extends LiveObject: // RTLC*, RTLC1
274274
value() -> Number // RTLC5
275275

276276
class LiveMap extends LiveObject: // RTLM*, RTLM1
277-
get(key: String) -> Boolean | Binary | Number | String | JsonArray | JsonObject | LiveCounter | LiveMap // RTLM5
277+
get(key: String) -> (Boolean | Binary | Number | String | JsonArray | JsonObject | LiveCounter | LiveMap)? // RTLM5
278278
size() -> Number // RTLM10
279-
entries() -> [String, Boolean | Binary | Number | String | JsonArray | JsonObject | LiveCounter | LiveMap][] // RTLM11
279+
entries() -> [String, (Boolean | Binary | Number | String | JsonArray | JsonObject | LiveCounter | LiveMap)?][] // RTLM11
280280
keys() -> String[] // RTLM12
281-
values() -> (Boolean | Binary | Number | String | JsonArray | JsonObject | LiveCounter | LiveMap)[] // RTLM13
281+
values() -> (Boolean | Binary | Number | String | JsonArray | JsonObject | LiveCounter | LiveMap)?[] // RTLM13
282282
</pre>

0 commit comments

Comments
 (0)