Skip to content

Commit 99966ba

Browse files
committed
add named tuple to js mapping table
1 parent 97a6da2 commit 99966ba

File tree

1 file changed

+2
-1
lines changed
  • docs/integrations/language-clients

1 file changed

+2
-1
lines changed

docs/integrations/language-clients/js.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -816,7 +816,8 @@ The related JS type is relevant for any `JSON*` formats except the ones that rep
816816
| Variant(T1, T2...) | ✔️ | T (depends on the variant) |
817817
| Dynamic | ✔️ | T (depends on the variant) |
818818
| Nested | ✔️ | T[] |
819-
| Tuple | ✔️ | Tuple |
819+
| Tuple(T1, T2, ...) | ✔️ | [T1, T2, ...] |
820+
| Tuple(n1 T1, n2 T2...) | ✔️ | \{ n1: T1; n2: T2; ...} |
820821
| Nullable(T) | ✔️ | JS type for T or null |
821822
| IPv4 | ✔️ | string |
822823
| IPv6 | ✔️ | string |

0 commit comments

Comments
 (0)