Skip to content

Commit ae14ae9

Browse files
committed
chore: fix start typedef with statuus handler
1 parent 523e2c7 commit ae14ae9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/LeanplumInternal.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ export default class LeanplumInternal {
258258
this._sessionLength = seconds
259259
}
260260

261-
start(userId: string, callback: StatusHandler): void;
261+
start(userId: string, callback?: StatusHandler): void;
262262
start(userAttributes?: UserAttributes, callback?: StatusHandler): void;
263263
start(userId?: string, userAttributes?: UserAttributes, callback?: StatusHandler): void;
264264
start(userId?: string, userAttributes?: UserAttributes, callback?: StatusHandler): void {

0 commit comments

Comments
 (0)