Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions packages/ldclient-js-common/typings.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -422,7 +422,7 @@ declare module 'ldclient-js-common' {
* @param onDone
* A callback to invoke after the user is identified.
*/
identify: (user: LDUser, hash?: string, onDone?: (err: Error | null, flags: LDFlagSet | null) => void) => Promise<void>;
identify: (user: LDUser, hash?: string, onDone?: (err: Error | null, flags: LDFlagSet | null) => void) => Promise<LDFlagSet>;

/**
* Returns the client's current user. This is the user that was most recently
Expand Down Expand Up @@ -528,4 +528,4 @@ declare module 'ldclient-js-common' {
*/
allFlags: () => LDFlagSet;
}
}
}