Skip to content

Commit 3889d28

Browse files
authored
2 parents a471913 + 55e4d76 commit 3889d28

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ declare module 'ldclient-js' {
220220
* @param onDone
221221
* A callback to invoke after the user is identified.
222222
*/
223-
identify: (user: LDUser, hash?: string, onDone?: () => void) => Promise<void>;
223+
identify: (user: LDUser, hash?: string, onDone?: (err: Error | null, flags: LDFlagSet | null) => void) => Promise<void>;
224224

225225
/**
226226
* Flushes pending events asynchronously.

0 commit comments

Comments
 (0)