From 34be2399ebc21cbf6052db30ad90df8fff2cacd0 Mon Sep 17 00:00:00 2001 From: Joshy Orndorff Date: Fri, 13 Mar 2020 12:54:29 -0400 Subject: [PATCH] Couple little typo fixes (#2045) --- docs/start/FAQ.md | 2 +- docs/start/typescript.user.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/start/FAQ.md b/docs/start/FAQ.md index 56c65b39c2..f5fee2a4b1 100644 --- a/docs/start/FAQ.md +++ b/docs/start/FAQ.md @@ -34,7 +34,7 @@ To submit these transactions, it needs to be send as a [wrapped transaction](api ## How do I call a function with a Tuple input -Tuples, as defined in the Polkadot/Substrate types appear as `(TypeA, TypeB)`. For instance we may have an `(AccountId, u64)` input as defined in the metadata or as part of the user types. To specify a Tuple as an input, wrap it is an array format, for instance to call `query.module.get((u32, u64))` where a `(u32, u64)` Tuple input is expected, you would do `query.module.get([123, 456])` +Tuples, as defined in the Polkadot/Substrate types appear as `(TypeA, TypeB)`. For instance we may have an `(AccountId, u64)` input as defined in the metadata or as part of the user types. To specify a Tuple as an input, wrap it in an array format, for instance to call `query.module.get((u32, u64))` where a `(u32, u64)` Tuple input is expected, you would do `query.module.get([123, 456])` ## How long do transactions live diff --git a/docs/start/typescript.user.md b/docs/start/typescript.user.md index a28a2f9038..adb11e1957 100644 --- a/docs/start/typescript.user.md +++ b/docs/start/typescript.user.md @@ -1,6 +1,6 @@ # TypeScript user generated -In the previous section we looked at the TypeScript definitions that are available and is generated from both the chain and definitions. Here we will expand upon the use of the infrastructure created to define types as part of the `@polkadot/types` library and see how to use them to generate your onw definitions and chain types. +In the previous section we looked at the TypeScript definitions that are available and is generated from both the chain and definitions. Here we will expand upon the use of the infrastructure created to define types as part of the `@polkadot/types` library and see how to use them to generate your own definitions and chain types. ## Definitions