Skip to content

Commit

Permalink
docs: wording
Browse files Browse the repository at this point in the history
  • Loading branch information
privatenumber committed Apr 19, 2024
1 parent 78bf1af commit 0e06f3f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion docs/.vitepress/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@ export default defineConfig({
{
text: 'Integration',
items: [
{ text: 'Node.js', link: '/node' },
{ text: 'VSCode', link: '/vscode' },
{ text: 'Node.js', link: '/node' },
]
},
{
Expand Down
6 changes: 3 additions & 3 deletions docs/index.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# What is _tsx_?

`tsx` stands for _TypeScript Execute_, and it's a TypeScript enhanced Node.js.
`tsx` stands for _TypeScript Execute_, and it's a simple command to run TypeScript in Node.js.

Because `tsx` is basically an alias to `node`, you can use it the same way:

Expand All @@ -16,7 +16,7 @@ tsx file.js
```
</div>

<sub>Since it's Node.js underneath, all command-line flags are supported. Use `tsx` just like you would use `node`!</sub>
<sub>Since it's Node.js underneath, all command-line flags are supported. Use `tsx` as you would use `node`!</sub>

## Features

Expand Down Expand Up @@ -55,7 +55,7 @@ TypeScript & ESM transformations are handled by [esbuild](https://esbuild.github
- Only [certain `tsconfig.json` properties](https://esbuild.github.io/content-types/#tsconfig-json) are supported
- [`emitDecoratorMetadata`](https://www.typescriptlang.org/tsconfig#emitDecoratorMetadata) is not supported

For details, refer to esbuild's [JavaScript caveats](https://esbuild.github.io/content-types/#javascript-caveats) and [TypeScript caveats](https://esbuild.github.io/content-types/#typescript-caveats) documentation.
For details, see esbuild's [JavaScript caveats](https://esbuild.github.io/content-types/#javascript-caveats) and [TypeScript caveats](https://esbuild.github.io/content-types/#typescript-caveats) documentation.


<style scoped>
Expand Down

0 comments on commit 0e06f3f

Please sign in to comment.