From 6a91064c5e954a78bfc8614ea56d56b8fd179508 Mon Sep 17 00:00:00 2001 From: Tim Date: Fri, 8 May 2026 10:45:44 -0700 Subject: [PATCH] Update Basics.md TypeScript no longer downlevels to ES5 by default. Running "tsc hello.js" will not create the concat strings change mentioned in the tutorial. --- packages/documentation/copy/en/handbook-v2/Basics.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/documentation/copy/en/handbook-v2/Basics.md b/packages/documentation/copy/en/handbook-v2/Basics.md index 79b870e76501..0b2abd668dfa 100644 --- a/packages/documentation/copy/en/handbook-v2/Basics.md +++ b/packages/documentation/copy/en/handbook-v2/Basics.md @@ -347,7 +347,7 @@ That's a feature, and it's best not to add annotations when the type system woul ## Erased Types -Let's take a look at what happens when we compile the above function `greet` with `tsc` to output JavaScript: +Let's take a look at what happens when we compile the above function `greet` with `tsc --target es5` to output JavaScript: ```ts twoslash // @showEmit