Skip to content

Commit 6677321

Browse files
authored
Update template.js
Fixed incorrect JSDoc optional syntax
1 parent 85ca9f3 commit 6677321

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

UX Data Broker Transform/starter-template/template.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* - Destructured inputs
55
* - Try/catch
66
* - Error logging then throw (Enables error logging but still allows the data resource to fail)
7-
* @param {{param1: string, param2: number, param3: [boolean]}} inputs inputs from the properties field above, param1 and param2 are mandatory
7+
* @param {{param1: string, param2: number, param3?: boolean}} inputs inputs from the properties field above, param1 and param2 are mandatory
88
* @returns {string} the value returned
99
*/
1010
function transform({ param1, param2, param3 }) {

0 commit comments

Comments
 (0)