From ba1eacf64e6e0f7e8908072f3c5d96ab152ffece Mon Sep 17 00:00:00 2001 From: Huyen Nguyen <25715018+huyenltnguyen@users.noreply.github.com> Date: Tue, 28 Apr 2026 23:21:04 +0700 Subject: [PATCH] fix(curriculum): correct casing for TypeScript (#67147) --- client/i18n/locales/english/intro.json | 6 +++--- .../672d457bcdd8b350ec2b6254.md | 2 +- .../688291b65db00473e1136725.md | 2 +- .../quiz-typescript/66f1ae758b77cfc3e4da6151.md | 2 +- .../review-typescript/6724e296dceca21b82426229.md | 4 ++-- .../68ff37f55fb2122df640cd78.md | 2 +- .../68ff4d778884847a60af06a5.md | 14 +++++++------- .../69934d9a6c9d9df8cb7d9984.md | 8 ++++---- curriculum/structure/blocks/review-typescript.json | 2 +- 9 files changed, 21 insertions(+), 21 deletions(-) diff --git a/client/i18n/locales/english/intro.json b/client/i18n/locales/english/intro.json index 4ccbd8361f6..ba6e2b191a3 100644 --- a/client/i18n/locales/english/intro.json +++ b/client/i18n/locales/english/intro.json @@ -6276,11 +6276,11 @@ "lab-digital-pet-game": { "title": "Build a Digital Pet Game", "intro": [ - "In this lab, you'll practice what you learned about Typescript and React by building a digital pet game." + "In this lab, you'll practice what you learned about TypeScript and React by building a digital pet game." ] }, "review-typescript": { - "title": "Typescript Review", + "title": "TypeScript Review", "intro": [ "Before you take the TypeScript quiz, you should review everything you've learned so far.", "Open up this page to review all of the concepts taught including data types in TypeScript, generics, type narrowing and more." @@ -6288,7 +6288,7 @@ }, "quiz-typescript": { "title": "TypeScript Quiz", - "intro": ["Test what you've learned on Typescript with this quiz."] + "intro": ["Test what you've learned on TypeScript with this quiz."] }, "review-front-end-libraries": { "title": "Front-End Libraries Review", diff --git a/curriculum/challenges/english/blocks/lecture-working-with-code-editors-and-ides/672d457bcdd8b350ec2b6254.md b/curriculum/challenges/english/blocks/lecture-working-with-code-editors-and-ides/672d457bcdd8b350ec2b6254.md index 0488ef6dc13..a4607e8c34e 100644 --- a/curriculum/challenges/english/blocks/lecture-working-with-code-editors-and-ides/672d457bcdd8b350ec2b6254.md +++ b/curriculum/challenges/english/blocks/lecture-working-with-code-editors-and-ides/672d457bcdd8b350ec2b6254.md @@ -19,7 +19,7 @@ Or maybe you're looking for something a bit more practical? Consider an AI assis An icon pack, such as _VS Code Great Icons_, can help make your file tree cleaner and easier to parse at a glance. And an extension like _Colorize_ can help you understand the values in your CSS properties. -You'll also want language-specific extensions for your projects. If you are using JavaScript, you will likely want _ESLint_ and _Prettier_ to lint and format your code. If you are using TypeScript, you might want _Pretty Typescript Errors_ for easier to read messages. +You'll also want language-specific extensions for your projects. If you are using JavaScript, you will likely want _ESLint_ and _Prettier_ to lint and format your code. If you are using TypeScript, you might want _Pretty TypeScript Errors_ for easier to read messages. Finally, you can also have a bit of fun with your editor. _VS Code Pets_ offers configurable virtual pets to keep you company while you squash some bugs. diff --git a/curriculum/challenges/english/blocks/lecture-working-with-code-reviews-branching-deployment-and-ci-cd/688291b65db00473e1136725.md b/curriculum/challenges/english/blocks/lecture-working-with-code-reviews-branching-deployment-and-ci-cd/688291b65db00473e1136725.md index ba8c728cee2..f863f58b857 100644 --- a/curriculum/challenges/english/blocks/lecture-working-with-code-reviews-branching-deployment-and-ci-cd/688291b65db00473e1136725.md +++ b/curriculum/challenges/english/blocks/lecture-working-with-code-reviews-branching-deployment-and-ci-cd/688291b65db00473e1136725.md @@ -119,7 +119,7 @@ The final four blocks are where the magic really happens. run: pnpm run test ``` -We have an `Install Dependencies` block, which installs the npm packages. Our `Lint Source Files` block runs the linter, the `Verify Build` block ensures that the Typescript code can compile, and the `Run Tests` block runs the unit tests. +We have an `Install Dependencies` block, which installs the npm packages. Our `Lint Source Files` block runs the linter, the `Verify Build` block ensures that the TypeScript code can compile, and the `Run Tests` block runs the unit tests. The important thing to know about actions is, by default, if one of these steps fails the remaining ones will be skipped and the entire run will be marked as a failure. diff --git a/curriculum/challenges/english/blocks/quiz-typescript/66f1ae758b77cfc3e4da6151.md b/curriculum/challenges/english/blocks/quiz-typescript/66f1ae758b77cfc3e4da6151.md index 3e1259e81b2..a9aa19901a0 100644 --- a/curriculum/challenges/english/blocks/quiz-typescript/66f1ae758b77cfc3e4da6151.md +++ b/curriculum/challenges/english/blocks/quiz-typescript/66f1ae758b77cfc3e4da6151.md @@ -17,7 +17,7 @@ To pass the quiz, you must correctly answer at least 18 of the 20 questions belo #### --text-- -What is Typescript? +What is TypeScript? #### --distractors-- diff --git a/curriculum/challenges/english/blocks/review-typescript/6724e296dceca21b82426229.md b/curriculum/challenges/english/blocks/review-typescript/6724e296dceca21b82426229.md index 7e6ee88c4e7..1cddae35b65 100644 --- a/curriculum/challenges/english/blocks/review-typescript/6724e296dceca21b82426229.md +++ b/curriculum/challenges/english/blocks/review-typescript/6724e296dceca21b82426229.md @@ -1,6 +1,6 @@ --- id: 6724e296dceca21b82426229 -title: Typescript Review +title: TypeScript Review challengeType: 31 dashedName: review-typescript --- @@ -255,4 +255,4 @@ Here are descriptions of the compiler options used in the example above: # --assignment-- -Review the Typescript topics and concepts. +Review the TypeScript topics and concepts. diff --git a/curriculum/challenges/english/blocks/workshop-shape-manager/68ff37f55fb2122df640cd78.md b/curriculum/challenges/english/blocks/workshop-shape-manager/68ff37f55fb2122df640cd78.md index 39af5447be8..81aa2c3db58 100644 --- a/curriculum/challenges/english/blocks/workshop-shape-manager/68ff37f55fb2122df640cd78.md +++ b/curriculum/challenges/english/blocks/workshop-shape-manager/68ff37f55fb2122df640cd78.md @@ -12,7 +12,7 @@ You have a working circle area calculation logic now. You can type in a radius a However, if you continue writing this way for rectangles and triangles, things will become a clutter of loose variables and repeated logic. To prevent this, you can structure the data using **interfaces**, and create a function that handles all area calculation cases. -An interface defines the structure of an object by specifying its property types. Here's what an interface looks like in Typescript. +An interface defines the structure of an object by specifying its property types. Here's what an interface looks like in TypeScript. ```ts interface Footballer { diff --git a/curriculum/challenges/english/blocks/workshop-shape-manager/68ff4d778884847a60af06a5.md b/curriculum/challenges/english/blocks/workshop-shape-manager/68ff4d778884847a60af06a5.md index 740d845e129..b10cd980266 100644 --- a/curriculum/challenges/english/blocks/workshop-shape-manager/68ff4d778884847a60af06a5.md +++ b/curriculum/challenges/english/blocks/workshop-shape-manager/68ff4d778884847a60af06a5.md @@ -7,7 +7,7 @@ dashedName: step-18 # --description-- -Your `getElement` function needs a return type. In Typescript, a return type is the type of value a function gives back when it is done running. +Your `getElement` function needs a return type. In TypeScript, a return type is the type of value a function gives back when it is done running. Here's how to specify a return type: @@ -23,14 +23,14 @@ For the return type of the `getElement` function, make it `HTMLElement`. # --hints-- -Your `getElement` function should have a return type of `HTMLElement`. +Your `getElement` function should have a return type of `HTMLElement`. ```js -const explorer = await __helpers.Explorer(code); -const { getElement } = explorer.allFunctions; -assert.isTrue( - getElement.hasReturnAnnotation('HTMLElement') -); +const explorer = await __helpers.Explorer(code); +const { getElement } = explorer.allFunctions; +assert.isTrue( + getElement.hasReturnAnnotation('HTMLElement') +); ``` # --seed-- diff --git a/curriculum/challenges/english/blocks/workshop-shape-manager/69934d9a6c9d9df8cb7d9984.md b/curriculum/challenges/english/blocks/workshop-shape-manager/69934d9a6c9d9df8cb7d9984.md index 9a01c116aec..63809d7b9f8 100644 --- a/curriculum/challenges/english/blocks/workshop-shape-manager/69934d9a6c9d9df8cb7d9984.md +++ b/curriculum/challenges/english/blocks/workshop-shape-manager/69934d9a6c9d9df8cb7d9984.md @@ -9,7 +9,7 @@ dashedName: step-4 Now you can start by implementing the area of circle calculation. You would have to select the elements for it and cast the selection using the `as` keyword. -The `as` keyword is used for type assertions. It tells Typescript to treat a value as a specific type without changing the value itself. This is useful when Typescript cannot automatically know the exact type of a value. Here's a typical usage of it: +The `as` keyword is used for type assertions. It tells TypeScript to treat a value as a specific type without changing the value itself. This is useful when TypeScript cannot automatically know the exact type of a value. Here's a typical usage of it: ```ts const container = document.getElementById("main-section") as HTMLElement; @@ -34,9 +34,9 @@ assert.match(__helpers.removeJSComments(code), /const\s+circleGroup\s*=/); You should cast the `circleGroup` selection as `HTMLElement`. ```js -const explorer = await __helpers.Explorer(code); -const { circleGroup } = explorer.variables; -assert.isTrue(circleGroup.value.hasCast("HTMLElement")); +const explorer = await __helpers.Explorer(code); +const { circleGroup } = explorer.variables; +assert.isTrue(circleGroup.value.hasCast("HTMLElement")); ``` # --seed-- diff --git a/curriculum/structure/blocks/review-typescript.json b/curriculum/structure/blocks/review-typescript.json index 39a05c174be..34a9f6d8a53 100644 --- a/curriculum/structure/blocks/review-typescript.json +++ b/curriculum/structure/blocks/review-typescript.json @@ -4,7 +4,7 @@ "isUpcomingChange": true, "dashedName": "review-typescript", "challengeOrder": [ - { "id": "6724e296dceca21b82426229", "title": "Typescript Review" } + { "id": "6724e296dceca21b82426229", "title": "TypeScript Review" } ], "helpCategory": "JavaScript" }