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

fix: typos #356

Merged
merged 1 commit into from
May 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions pkg/platform/src/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ export interface App {
* }
* ```
*
* By default, we use the latest verion of a provider. But you can optionally specify a version.
* By default, we use the latest version of a provider. But you can optionally specify a version.
*
* ```ts
* {
Expand Down Expand Up @@ -257,7 +257,7 @@ export interface Config {
*
* @example
*
* For exmaple, here we return the name of the bucket we created.
* For example, here we return the name of the bucket we created.
*
* ```ts
* async run() {
Expand All @@ -272,7 +272,7 @@ export interface Config {
* This will display the following in the CLI.
*
* ```bash frame=\"none\"
* buckeet: bucket-jOaikGu4rla
* bucket: bucket-jOaikGu4rla
* ```
*/
run(): Promise<Record<string, any> | void>;
Expand Down
2 changes: 1 addition & 1 deletion pkg/platform/src/global.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ declare global {
*
* @example
*
* For example, to set a default runtime for all function compoennts.
* For example, to set a default runtime for all function components.
*
* ```ts
* $transform(sst.aws.Function, (args, opts) => {
Expand Down
2 changes: 1 addition & 1 deletion www/src/content/docs/docs/components.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ Similar to the component transform, we have the global `$transform`. This allows
Set global defaults for your components with `$transform`.
:::

For example, to set a default runtime for all function compoennts.
For example, to set a default runtime for all function components.

```ts
$transform(sst.aws.Function, (args, opts) => {
Expand Down
6 changes: 3 additions & 3 deletions www/src/content/docs/docs/reference/config.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ You also add multiple providers.
}
```

By default, we use the latest verion of a provider. But you can optionally specify a version.
By default, we use the latest version of a provider. But you can optionally specify a version.

```ts
{
Expand Down Expand Up @@ -317,7 +317,7 @@ You can use SST and Pulumi components only in the `run` function.

You can optionally return an object that'll be displayed as the output in the CLI.

For exmaple, here we return the name of the bucket we created.
For example, here we return the name of the bucket we created.

```ts
async run() {
Expand All @@ -332,7 +332,7 @@ async run() {
This will display the following in the CLI.

```bash frame=\"none\"
buckeet: bucket-jOaikGu4rla
bucket: bucket-jOaikGu4rla
```
</Segment>
</div>
2 changes: 1 addition & 1 deletion www/src/content/docs/docs/reference/global.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,7 @@ This function is only called for components that are created **after** the funct
The function takes the arguments and options that are being passed to the component,
and can modify them.

For example, to set a default runtime for all function compoennts.
For example, to set a default runtime for all function components.

```ts
$transform(sst.aws.Function, (args, opts) => {
Expand Down