Skip to content

Commit 02f7a47

Browse files
committed
Improve doc for optional return value
1 parent 4d13e1f commit 02f7a47

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

internal/Trigger.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ const triggers = {
5454
* @param {string} option the name of the option that has been changed
5555
* @param {Event} event the event (input or change) that triggered saving
5656
* (may not always be defined, e.g. when loading)
57-
* @return {Promise} optionally, to use await
57+
* @return {Promise|void} optionally, to use await
5858
*/
5959

6060
/**

0 commit comments

Comments
 (0)