Skip to content

Commit 5aced01

Browse files
committed
Merge branch 'main' of github.com:strapi/sdk-js into fix/incorrect-headers-override
2 parents ca377b1 + 22fc464 commit 5aced01

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/types/content-api.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,9 +67,10 @@ export interface BaseQueryParams {
6767
*
6868
* Can be:
6969
* - a `string` to specify relation paths as `populate=name`
70+
* - an `array` of strings to specify multiple relation paths
7071
* - an `object` to enable deeper population configurations
7172
*/
72-
populate?: string | Record<string, unknown>;
73+
populate?: string | string[] | Record<string, unknown>;
7374

7475
/**
7576
* Specifies the fields of documents to include in the response.

0 commit comments

Comments
 (0)