Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SDKS-7567] Add type definitions #764

Merged
merged 5 commits into from
Oct 20, 2023
Merged

[SDKS-7567] Add type definitions #764

merged 5 commits into from
Oct 20, 2023

Conversation

emmaz90
Copy link
Contributor

@emmaz90 emmaz90 commented Oct 9, 2023

JS SDK

What did you accomplish?

How do we test the changes introduced in this PR?

Extra Notes

@emmaz90 emmaz90 requested a review from a team as a code owner October 9, 2023 22:02
@@ -1417,6 +1417,74 @@ declare namespace SplitIO {
* @returns {TreatmentsWithConfig} The map with all the TreatmentWithConfig objects
*/
getTreatmentsWithConfig(featureFlagNames: string[], attributes?: Attributes): TreatmentsWithConfig,
/**
* Returns a Treatments value, which is an object map with the treatments for the feature flags related to the given flagSet.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

flagSet -> flag set
Check other occurrences if the term flagSet or flagSets in descriptive comments

* @param {Attributes=} attributes - An object of type Attributes defining the attributes for the given key.
* @returns {Treatments} The map with all the TreatmentWithConfig objects
*/
getTreatmentsByFlagSet(key: SplitKey, flagSet: string, attributes?: Attributes): Treatments,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

key: SplitKey ?

Base automatically changed from sdks-7564 to sdks-7437 October 20, 2023 23:43
@emmaz90 emmaz90 merged commit a3045ec into sdks-7437 Oct 20, 2023
3 checks passed
@emmaz90 emmaz90 deleted the sdks-7567 branch October 20, 2023 23:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants