From 95a65834b2921bbbb3936283955b6385eaeb0da4 Mon Sep 17 00:00:00 2001 From: umutKaracelebi Date: Thu, 19 Feb 2026 23:42:54 +0300 Subject: [PATCH] docs: fix grammatical errors and typos in ASP.NET Core and Generics guides --- .../copy/en/handbook-v2/Type Manipulation/Generics.md | 2 +- .../documentation/copy/en/tutorials/ASP.NET Core.md | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/packages/documentation/copy/en/handbook-v2/Type Manipulation/Generics.md b/packages/documentation/copy/en/handbook-v2/Type Manipulation/Generics.md index bffbc2496562..2066dec9d342 100644 --- a/packages/documentation/copy/en/handbook-v2/Type Manipulation/Generics.md +++ b/packages/documentation/copy/en/handbook-v2/Type Manipulation/Generics.md @@ -122,7 +122,7 @@ You can read the type of `loggingIdentity` as "the generic function `loggingIden If we passed in an array of numbers, we'd get an array of numbers back out, as `Type` would bind to `number`. This allows us to use our generic type variable `Type` as part of the types we're working with, rather than the whole type, giving us greater flexibility. -We can alternatively write the sample example this way: +We can alternatively write the same example this way: ```ts twoslash {1} function loggingIdentity(arg: Array): Array { diff --git a/packages/documentation/copy/en/tutorials/ASP.NET Core.md b/packages/documentation/copy/en/tutorials/ASP.NET Core.md index 80765a5d1df2..7355a9b72987 100644 --- a/packages/documentation/copy/en/tutorials/ASP.NET Core.md +++ b/packages/documentation/copy/en/tutorials/ASP.NET Core.md @@ -20,7 +20,7 @@ Next, if your version of Visual Studio does not already have the latest TypeScri ![Visual Studio Project Window Screenshot](/images/tutorials/aspnet/createwebapp.png) -5. Name your project and solution. After select the _Create_ button +5. Name your project and solution. Next, select the _Create_ button ![Visual Studio New Project Window Screenshot](/images/tutorials/aspnet/namewebapp.png) @@ -113,7 +113,7 @@ Replace the contents of the `tsconfig.json` file with: Note: `"ESNext"` targets latest supported -[`noImplicitAny`](/tsconfig#noImplicitAny) is good idea whenever you’re writing new code — you can make sure that you don’t write any untyped code by mistake. `"compileOnSave"` makes it easy to update your code in a running web app. +[`noImplicitAny`](/tsconfig#noImplicitAny) is a good idea whenever you’re writing new code — you can make sure that you don’t write any untyped code by mistake. `"compileOnSave"` makes it easy to update your code in a running web app. #### _Set up NPM_ @@ -174,7 +174,7 @@ If ‘default’ and ‘clean’ tasks don’t show up, refresh the explorer: ![Screenshot of task explorer with "Gulpfile.js" in it](/images/tutorials/aspnet/taskrunnerrefresh.png) -## Write a HTML page +## Write an HTML page Right click on the `wwwroot` folder (if you don't see the folder try building the project) and add a New Item named `index.html` inside. Use the following code for `index.html` @@ -201,7 +201,7 @@ Right click on the `wwwroot` folder (if you don't see the folder try building th 1. Run the project 2. As you type on the boxes you should see the message appear/change! -![A GIF of Edge showing the code you have just wrote](https://media.giphy.com/media/U3mTibRAx34DG3zhAN/giphy.gif) +![A GIF of Edge showing the code you have just written](https://media.giphy.com/media/U3mTibRAx34DG3zhAN/giphy.gif) ## Debug @@ -210,6 +210,6 @@ Right click on the `wwwroot` folder (if you don't see the folder try building th 3. Put a breakpoint on the line with return. 4. Type in the boxes and confirm that the breakpoint hits in TypeScript code and that inspection works correctly. -![An image showing the debugger running the code you have just wrote](/images/tutorials/aspnet/debugger.png) +![An image showing the debugger running the code you have just written](/images/tutorials/aspnet/debugger.png) Congrats you've built your own .NET Core project with a TypeScript frontend.