Skip to content

Commit c080d2a

Browse files
fix(types): fix Field.properties.fields type (#49)
Current type of field.properties.fields is `any[][]` -- I believe it should instead be `any[]` per the example in the API docs https://developer.typeform.com/create/reference/create-form/
1 parent 9debe94 commit c080d2a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/typeform-types.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -762,7 +762,7 @@ export namespace Typeform {
762762
* Contains the fields that belong in a question group. Only `payment` and `group` blocks are not allowed inside a question group.
763763
* Available for the `group` type.
764764
*/
765-
fields?: any[][]
765+
fields?: any[]
766766
/**
767767
* true to allow respondents to select more than one answer choice. false to allow respondents to select only one answer choice.
768768
* Available for `multiple_choice` and `picture_choice` types.

0 commit comments

Comments
 (0)