diff --git a/docs/references/candid-ref.mdx b/docs/references/candid-ref.mdx index adf1a55591..03f6e894cf 100644 --- a/docs/references/candid-ref.mdx +++ b/docs/references/candid-ref.mdx @@ -175,6 +175,12 @@ We can use type annotation to distinguish different integer types. (42 : nat64) ``` +Canister init arguments passed to `dfx` must be explicit with data types, such as: + +``` +field = 5 : nat64 +``` + #### Corresponding Motoko type `natN` translates by default to `NatN`, but can also correspond to `WordN` when required.