You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/javascript/compile-typescript-code-nuget.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -48,7 +48,7 @@ If Visual Studio is installed, then the node.exe bundled with it will automatica
48
48
49
49
1. Open *tsconfig.json* and update to set the compiler options that you want.
50
50
51
-
The following is an example of a simple *tsconfig.json* file.
51
+
Use the following example, which shows a simple *tsconfig.json* file.
52
52
53
53
```json
54
54
{
@@ -75,14 +75,14 @@ If Visual Studio is installed, then the node.exe bundled with it will automatica
75
75
76
76
### Build the application
77
77
78
-
1. Add TypeScript (*.ts*) or TypeScript JSX (*.tsx*) files to your project, and then add TypeScript code. For a simple example of TypeScript, use the following:
78
+
1. Add TypeScript (*.ts*) or TypeScript JSX (*.tsx*) files to your project, and then add TypeScript code. For a simple example of TypeScript, use the following code:
79
79
80
80
```typescript
81
81
let message:string='Hello World';
82
82
console.log(message);
83
83
```
84
84
85
-
1. If you are using an older non-SDK style project, follow instructions in [Remove default imports](#remove-default-imports) before building.
85
+
1. If you're using an older non-SDK style project, follow instructions in [Remove default imports](#remove-default-imports) before building.
86
86
87
87
1. Choose **Build > Build Solution**.
88
88
@@ -157,7 +157,7 @@ Press **F5** or select the Start button at the top of the window.
157
157
158
158
In older ASP.NET Core projects that use the [non-SDK-style format](/nuget/resources/check-project-format), you may need to remove some project file elements.
159
159
160
-
If you are using the NuGet package for MSBuild support for a project, the project file must not import `Microsoft.TypeScript.Default.props` or `Microsoft.TypeScript.targets`. The files get imported by the NuGet package, so including them separately may cause unintended behavior.
160
+
If you're using the NuGet package for MSBuild support for a project, the project file must not import `Microsoft.TypeScript.Default.props` or `Microsoft.TypeScript.targets`. The files get imported by the NuGet package, so including them separately may cause unintended behavior.
161
161
162
162
1. Right-click the project and choose **Unload Project**.
163
163
@@ -167,7 +167,7 @@ If you are using the NuGet package for MSBuild support for a project, the projec
167
167
168
168
1. Remove references to `Microsoft.TypeScript.Default.props` and `Microsoft.TypeScript.targets`.
169
169
170
-
The imports to remove look similar to the following:
170
+
The imports to remove look similar to the following XML:
0 commit comments