Skip to content

Commit

Permalink
set correct type settingstoolbox.defaultJSON for #6421 (#6428)
Browse files Browse the repository at this point in the history
* set correct type settingstoolbox..defaultJSON for #6421

* Set correct type of settings.toolbox.defaultJSON fix #6421
  • Loading branch information
andrewtelnov committed Jan 21, 2025
1 parent 70ef7ba commit 49fe715
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/survey-creator-core/src/creator-settings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ export var settings = {
/**
* Use it to change the default question JSON on dropping it into designer or converting questions
*/
defaultJSON: {
defaultJSON: <{ [index: string]: any }>{
dropdown: {
choices: ["Item 1", "Item 2", "Item 3"]
},
Expand Down

0 comments on commit 49fe715

Please sign in to comment.