Skip to content

Commit 6b38ab9

Browse files
authored
fix(clerk-react): Type error in __experimental_nextTask (#5556)
1 parent a9b55ad commit 6b38ab9

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.changeset/new-moons-kiss.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
---
2+
---

packages/react/src/isomorphicClerk.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -626,7 +626,7 @@ export class IsomorphicClerk implements IsomorphicLoadedClerk {
626626
}
627627
};
628628

629-
__experimental_nextTask = async (params: NextTaskParams): Promise<void> => {
629+
__experimental_nextTask = async (params?: NextTaskParams): Promise<void> => {
630630
if (this.clerkjs) {
631631
return this.clerkjs.__experimental_nextTask(params);
632632
} else {

0 commit comments

Comments
 (0)