Skip to content

Commit

Permalink
re-add missing null and undefined defaults
Browse files Browse the repository at this point in the history
  • Loading branch information
jadeddelta committed Dec 3, 2024
1 parent 8f55785 commit 528a67a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion packages/plugin-html-choice/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const info = <const>{
html_array: {
type: ParameterType.HTML_STRING,
pretty_name: "Stimulus",
default: [],
default: undefined,
array: true,
},
/** How long to show the stimulus. */
Expand Down
2 changes: 2 additions & 0 deletions packages/plugin-image-array-keyboard-response/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ const info = <const>{
stimulus: {
type: ParameterType.IMAGE,
pretty_name: "Stimulus",
default: undefined,
array: true,
},
/**
Expand All @@ -19,6 +20,7 @@ const info = <const>{
stimulus_rect: {
type: ParameterType.COMPLEX,
pretty_name: "Image rectangle",
default: null,
array: true,
},
/** Maintain the aspect ratio after setting width or height */
Expand Down

0 comments on commit 528a67a

Please sign in to comment.