Skip to content

Commit f1c907c

Browse files
authored
fix(typescript): Fixes populate type definition does not represent the docs (#596)
1 parent e4a8d80 commit f1c907c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

types/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -346,7 +346,7 @@ export interface PopulateSchema {
346346
* Call the service as the server, not with the client’s transport.
347347
*/
348348
provider: string;
349-
include: Partial<PopulateSchema>;
349+
include: Partial<PopulateSchema> | Array<Partial<PopulateSchema>>;
350350
}
351351

352352
/**

0 commit comments

Comments
 (0)