diff --git a/property_tests/arbitraries/candid/candid_type_arb.ts b/property_tests/arbitraries/candid/candid_type_arb.ts index 8e6e5423f2..1ba50e2500 100644 --- a/property_tests/arbitraries/candid/candid_type_arb.ts +++ b/property_tests/arbitraries/candid/candid_type_arb.ts @@ -33,7 +33,7 @@ export type CandidType = * * **Note:** This currently only supports ints, nats, and null arbitraries */ -export const CandidTypeArb = fc.oneof( +export const CandidTypeArb: fc.Arbitrary> = fc.oneof( Float32Arb, Float64Arb, IntArb, @@ -51,5 +51,5 @@ export const CandidTypeArb = fc.oneof( TextArb, PrincipalArb, BlobArb -) as fc.Arbitrary>; +); // TODO: This needs to support ALL valid candid types, including records, variants, etc.