From 352daba2ca3dc15658f66c5e4375d682650b8185 Mon Sep 17 00:00:00 2001 From: marvin-j97 Date: Tue, 3 Jun 2025 20:47:17 +0200 Subject: [PATCH] fix: typescript casing --- src/routes/configuration/typescript.mdx | 2 +- src/routes/pt-br/quick-start.mdx | 2 +- src/routes/pt-br/solid-router/quick-start.mdx | 2 +- src/routes/solid-start/advanced/return-responses.mdx | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/routes/configuration/typescript.mdx b/src/routes/configuration/typescript.mdx index 77440e4b8..0b4d889c8 100644 --- a/src/routes/configuration/typescript.mdx +++ b/src/routes/configuration/typescript.mdx @@ -48,7 +48,7 @@ Additionally, it makes sure the project's architecture is primed for React JSX f ## Migrating from JavaScript to TypeScript -Transitioning from JavaScript to TypeScript in a Solid project offers the benefits of static typing. To migrate to Typescript: +Transitioning from JavaScript to TypeScript in a Solid project offers the benefits of static typing. To migrate to TypeScript: 1. Install TypeScript into your project. diff --git a/src/routes/pt-br/quick-start.mdx b/src/routes/pt-br/quick-start.mdx index b3164b1b3..9b519a370 100644 --- a/src/routes/pt-br/quick-start.mdx +++ b/src/routes/pt-br/quick-start.mdx @@ -6,7 +6,7 @@ title: Começo rápido Experimente Solid in your browser by visiting our [interactive playground](https://playground.solidjs.com/). -Additionally, we offer a [JavaScript](https://stackblitz.com/github/solidjs/templates/tree/master/js) and [Typescript](https://stackblitz.com/github/solidjs/templates/tree/master/ts) Stackblitz starters, which provide a web-based development environment to get you started. +Additionally, we offer a [JavaScript](https://stackblitz.com/github/solidjs/templates/tree/master/js) and [TypeScript](https://stackblitz.com/github/solidjs/templates/tree/master/ts) Stackblitz starters, which provide a web-based development environment to get you started. ## Creating a Solid application diff --git a/src/routes/pt-br/solid-router/quick-start.mdx b/src/routes/pt-br/solid-router/quick-start.mdx index b3164b1b3..9b519a370 100644 --- a/src/routes/pt-br/solid-router/quick-start.mdx +++ b/src/routes/pt-br/solid-router/quick-start.mdx @@ -6,7 +6,7 @@ title: Começo rápido Experimente Solid in your browser by visiting our [interactive playground](https://playground.solidjs.com/). -Additionally, we offer a [JavaScript](https://stackblitz.com/github/solidjs/templates/tree/master/js) and [Typescript](https://stackblitz.com/github/solidjs/templates/tree/master/ts) Stackblitz starters, which provide a web-based development environment to get you started. +Additionally, we offer a [JavaScript](https://stackblitz.com/github/solidjs/templates/tree/master/js) and [TypeScript](https://stackblitz.com/github/solidjs/templates/tree/master/ts) Stackblitz starters, which provide a web-based development environment to get you started. ## Creating a Solid application diff --git a/src/routes/solid-start/advanced/return-responses.mdx b/src/routes/solid-start/advanced/return-responses.mdx index b64c3261d..9a100790b 100644 --- a/src/routes/solid-start/advanced/return-responses.mdx +++ b/src/routes/solid-start/advanced/return-responses.mdx @@ -4,7 +4,7 @@ title: Returning responses In SolidStart, it is possible to return a Response object from a server function. [`solid-router`](/solid-router) knows how to handle certain responses with its [`query`](/solid-router/reference/data-apis/query) and [`action`](/solid-router/reference/data-apis/action) APIs. -For Typescript, when returning a response using `solid-router`'s `redirect`, `reload`, or `json` helpers, they will not impact the return value of the server function. +For TypeScript, when returning a response using `solid-router`'s `redirect`, `reload`, or `json` helpers, they will not impact the return value of the server function. While we suggest depending on the type of the function to handle errors differently, you can always return or throw a response.