diff --git a/packages/documentation/copy/en/handbook-v1/Basic Types.md b/packages/documentation/copy/en/handbook-v1/Basic Types.md
index d2cf4fd66cba..34124897ff8f 100644
--- a/packages/documentation/copy/en/handbook-v1/Basic Types.md
+++ b/packages/documentation/copy/en/handbook-v1/Basic Types.md
@@ -16,7 +16,7 @@ The most basic datatype is the simple true/false value, which JavaScript and Typ
let isDone: boolean = false;
```
-## Number
+## Number
As in JavaScript, all numbers in TypeScript are either floating point values or BigIntegers.
These floating point numbers get the type `number`, while BigIntegers get the type `bigint`.
@@ -383,7 +383,6 @@ You may have noticed that so far, we've been using the `let` keyword instead of
The `let` keyword is actually a newer JavaScript construct that TypeScript makes available.
You can read in the Handbook Reference on [Variable Declarations](/docs/handbook/variable-declarations.html) more about how `let` and `const` fix a lot of the problems with var.
-
## About `Number`, `String`, `Boolean`, `Symbol` and `Object`
It can be tempting to think that the types `Number`, `String`, `Boolean`, `Symbol`, or `Object` are the same as the lowercase versions recommended above.
@@ -391,19 +390,19 @@ These types do not refer to the language primitives however, and almost never sh
```ts twoslash
// @errors: 2339
-function reverse(s: String): String {
- return s.split("").reverse().join("")
+function reverse(s: String): String {
+ return s.split("").reverse().join("");
}
-reverse("hello world")
+reverse("hello world");
```
Instead, use the types `number`, `string`, `boolean`, `object` and `symbol`.
```ts twoslash
-function reverse(s: string): string {
- return s.split("").reverse().join("")
+function reverse(s: string): string {
+ return s.split("").reverse().join("");
}
-reverse("hello world")
+reverse("hello world");
```
diff --git a/packages/typescriptlang-org/src/components/index/MigrationStories.tsx b/packages/typescriptlang-org/src/components/index/MigrationStories.tsx
index 53c8c6503b7b..605d67fab5e2 100644
--- a/packages/typescriptlang-org/src/components/index/MigrationStories.tsx
+++ b/packages/typescriptlang-org/src/components/index/MigrationStories.tsx
@@ -6,7 +6,7 @@ import { useIntl } from "react-intl"
const ReverseRow = (props: { children: any }) =>
}
console.log(user.name)
-Property 'name' does not exist on type '{ firstName: string; lastName: string; role: string; }'.2339Property 'name' does not exist on type '{ firstName: string; lastName: string; role: string; }'.
`
+Property 'name' does not exist on type '{ firstName: string; lastName: string; role: string; }'.2339Property 'name' does not exist on type '{ firstName: string; lastName: string; role: string; }'.Try`
export const ShowErrorsExample = () =>
diff --git a/packages/typescriptlang-org/src/components/index/twoslash/generated/typeDefinitions.tsx b/packages/typescriptlang-org/src/components/index/twoslash/generated/typeDefinitions.tsx
index 21b75d13af89..0c88b0dd7b5c 100644
--- a/packages/typescriptlang-org/src/components/index/twoslash/generated/typeDefinitions.tsx
+++ b/packages/typescriptlang-org/src/components/index/twoslash/generated/typeDefinitions.tsx
@@ -9,6 +9,6 @@ const innerHTML = `