Skip to content

Commit 2e3b38d

Browse files
fix: allow setup() to return Promise<void> for async workflows
1 parent 0f966a1 commit 2e3b38d

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/core/main.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -673,6 +673,7 @@ export default p5;
673673
*
674674
* @method setup
675675
* @for p5
676+
* @return {void|Promise<void>}
676677
*
677678
* @example
678679
* function setup() {

0 commit comments

Comments
 (0)