From 1c1c179cbc20ee958009bb4c5de57ac7876af022 Mon Sep 17 00:00:00 2001 From: Chase Adams Date: Thu, 2 May 2024 14:51:49 -0700 Subject: [PATCH] fix: typos --- pkg/platform/src/config.ts | 6 +++--- pkg/platform/src/global.d.ts | 2 +- www/src/content/docs/docs/components.mdx | 2 +- www/src/content/docs/docs/reference/config.mdx | 6 +++--- www/src/content/docs/docs/reference/global.mdx | 2 +- 5 files changed, 9 insertions(+), 9 deletions(-) diff --git a/pkg/platform/src/config.ts b/pkg/platform/src/config.ts index 72512c8ab..582de5d84 100644 --- a/pkg/platform/src/config.ts +++ b/pkg/platform/src/config.ts @@ -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 * { @@ -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() { @@ -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 | void>; diff --git a/pkg/platform/src/global.d.ts b/pkg/platform/src/global.d.ts index 56c77eb9c..10e686aff 100644 --- a/pkg/platform/src/global.d.ts +++ b/pkg/platform/src/global.d.ts @@ -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) => { diff --git a/www/src/content/docs/docs/components.mdx b/www/src/content/docs/docs/components.mdx index 2a85e5e23..d8752fc4a 100644 --- a/www/src/content/docs/docs/components.mdx +++ b/www/src/content/docs/docs/components.mdx @@ -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) => { diff --git a/www/src/content/docs/docs/reference/config.mdx b/www/src/content/docs/docs/reference/config.mdx index c5eb5bc03..e830ceeaa 100644 --- a/www/src/content/docs/docs/reference/config.mdx +++ b/www/src/content/docs/docs/reference/config.mdx @@ -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 { @@ -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() { @@ -332,7 +332,7 @@ async run() { This will display the following in the CLI. ```bash frame=\"none\" -buckeet: bucket-jOaikGu4rla +bucket: bucket-jOaikGu4rla ``` \ No newline at end of file diff --git a/www/src/content/docs/docs/reference/global.mdx b/www/src/content/docs/docs/reference/global.mdx index d51cc83bd..ae0f5d903 100644 --- a/www/src/content/docs/docs/reference/global.mdx +++ b/www/src/content/docs/docs/reference/global.mdx @@ -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) => {