Skip to content

Commit

Permalink
make properties enumerable
Browse files Browse the repository at this point in the history
  • Loading branch information
louis-bompart committed Sep 11, 2024
1 parent 9f64c7e commit 9a45473
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -350,18 +350,23 @@ export class AtomicCommerceSearchBox
{
id: {
get: () => this.id,
enumerable: true,
},
searchBoxController: {
get: () => this.searchBox,
enumerable: true,
},
isStandalone: {
get: () => !!this.redirectionUrl,
enumerable: true,
},
numberOfQueries: {
get: () => this.numberOfQueries,
enumerable: true,
},
clearFilters: {
get: () => this.clearFilters,
enumerable: true,
},
}
) as unknown as Pick<
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -349,18 +349,23 @@ export class AtomicSearchBox implements InitializableComponent<Bindings> {
{
id: {
get: () => this.id,
enumerable: true,
},
searchBoxController: {
get: () => this.searchBox,
enumerable: true,
},
isStandalone: {
get: () => !!this.redirectionUrl,
enumerable: true,
},
numberOfQueries: {
get: () => this.numberOfQueries,
enumerable: true,
},
clearFilters: {
get: () => this.clearFilters,
enumerable: true,
},
}
) as unknown as Pick<
Expand Down

0 comments on commit 9a45473

Please sign in to comment.