Skip to content

Commit 360fa3f

Browse files
docs: fix grammar in container API JSDoc comments (#16984)
1 parent 814bf83 commit 360fa3f

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

packages/astro/src/container/index.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ export type ContainerRenderOptions = {
9696
routeType?: RouteType;
9797

9898
/**
99-
* Allows to pass `Astro.props` to an Astro component:
99+
* Allows passing `Astro.props` to an Astro component:
100100
*
101101
* ```js
102102
* container.renderToString(Endpoint, { props: { "lorem": "ipsum" } });
@@ -105,9 +105,9 @@ export type ContainerRenderOptions = {
105105
props?: Props;
106106

107107
/**
108-
* When `false`, it forces to render the component as it was a full-fledged page.
108+
* When `false`, it forces the component to render as if it were a full-fledged page.
109109
*
110-
* By default, the container API render components as [partials](https://docs.astro.build/en/basics/astro-pages/#page-partials).
110+
* By default, the container API renders components as [partials](https://docs.astro.build/en/basics/astro-pages/#page-partials).
111111
*
112112
*/
113113
partial?: boolean;

0 commit comments

Comments
 (0)