Skip to content

Commit

Permalink
fix(types): fix Field.properties.fields type (#49)
Browse files Browse the repository at this point in the history
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/
  • Loading branch information
nicolaslwilson authored Oct 3, 2023
1 parent 9debe94 commit c080d2a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/typeform-types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -762,7 +762,7 @@ export namespace Typeform {
* Contains the fields that belong in a question group. Only `payment` and `group` blocks are not allowed inside a question group.
* Available for the `group` type.
*/
fields?: any[][]
fields?: any[]
/**
* true to allow respondents to select more than one answer choice. false to allow respondents to select only one answer choice.
* Available for `multiple_choice` and `picture_choice` types.
Expand Down

0 comments on commit c080d2a

Please sign in to comment.