-
Notifications
You must be signed in to change notification settings - Fork 7
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
If you're not sure whether your problem is specifically related to this repository, or to the ConfigCat service overall, please contact the ConfigCat support. This issue tracker is intended only for feedback on the content of this repository.
Describe the bug
I don't know if it's intentional or not, but when doing a feature flag targeting users on the documentation the custom param is optional but in the types of it it's required.
User.d.ts
export declare class User implements IUser {
identifier: string;
email?: string | undefined;
country?: string | undefined;
custom: Record<string, UserAttributeValue>;
constructor(identifier: string, email?: string | undefined, country?: string | undefined, custom?: Record<string, UserAttributeValue>);
}
Expected behavior
Not to be required
Screenshots
If applicable, add screenshots to help explain your problem.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working