Skip to content

Commit

Permalink
docs: fix website typo
Browse files Browse the repository at this point in the history
Signed-off-by: Ashley Claymore <[email protected]>
  • Loading branch information
acutmore committed Sep 19, 2024
1 parent 98ca6b8 commit 9cff0a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion website/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ var Cat = /** @class */ (function () {
throw Error();
```

That's because TypeScript is performing "down-leveling" to convert your modern JavaScript into something that can run on older JavaScript engines. Because this moves the code around, error stacks and breakpoint locations which not match; so sourcemaps are also generated to correct for this.
That's because TypeScript is performing "down-leveling" to convert your modern JavaScript into something that can run on older JavaScript engines. Because this moves the code around, error stacks and breakpoint locations will not match; so sourcemaps are also generated to correct for this.

Let's try disabling down-leveling using the `tsconfig.json` option `target: "esnext"`:

Expand Down

0 comments on commit 9cff0a3

Please sign in to comment.