Skip to content
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
2 changes: 1 addition & 1 deletion src/routes/configuration/typescript.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down
2 changes: 1 addition & 1 deletion src/routes/pt-br/quick-start.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion src/routes/pt-br/solid-router/quick-start.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion src/routes/solid-start/advanced/return-responses.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down