File tree Expand file tree Collapse file tree 2 files changed +45
-0
lines changed
src/steps/writing/creation/dotGitHub Expand file tree Collapse file tree 2 files changed +45
-0
lines changed Original file line number Diff line number Diff line change @@ -122,6 +122,21 @@ describe("createDevelopment", () => {
122
122
This repository includes a [VS Code launch configuration](https://code.visualstudio.com/docs/editor/debugging) for debugging unit tests.
123
123
To launch it, open a test file, then run _Debug Current Test File_ from the VS Code Debug panel (or press F5).
124
124
125
+ ## Type Checking
126
+
127
+ You should be able to see suggestions from [TypeScript](https://typescriptlang.org) in your editor for all open files.
128
+
129
+ However, it can be useful to run the TypeScript command-line (\`tsc\`) to type check all files in \`src/\`:
130
+
131
+ \`\`\`shell
132
+ pnpm tsc
133
+ \`\`\`
134
+
135
+ Add \`--watch\` to keep the type checker running in a watch mode that updates the display as you save files:
136
+
137
+ \`\`\`shell
138
+ pnpm tsc --watch
139
+ \`\`\`
125
140
"
126
141
` ) ;
127
142
} ) ;
@@ -209,6 +224,21 @@ describe("createDevelopment", () => {
209
224
This repository includes a [VS Code launch configuration](https://code.visualstudio.com/docs/editor/debugging) for debugging unit tests.
210
225
To launch it, open a test file, then run _Debug Current Test File_ from the VS Code Debug panel (or press F5).
211
226
227
+ ## Type Checking
228
+
229
+ You should be able to see suggestions from [TypeScript](https://typescriptlang.org) in your editor for all open files.
230
+
231
+ However, it can be useful to run the TypeScript command-line (\`tsc\`) to type check all files in \`src/\`:
232
+
233
+ \`\`\`shell
234
+ pnpm tsc
235
+ \`\`\`
236
+
237
+ Add \`--watch\` to keep the type checker running in a watch mode that updates the display as you save files:
238
+
239
+ \`\`\`shell
240
+ pnpm tsc --watch
241
+ \`\`\`
212
242
"
213
243
` ) ;
214
244
} ) ;
Original file line number Diff line number Diff line change @@ -103,5 +103,20 @@ This repository includes a [VS Code launch configuration](https://code.visualstu
103
103
To launch it, open a test file, then run _Debug Current Test File_ from the VS Code Debug panel (or press F5).
104
104
`
105
105
}
106
+ ## Type Checking
107
+
108
+ You should be able to see suggestions from [TypeScript](https://typescriptlang.org) in your editor for all open files.
109
+
110
+ However, it can be useful to run the TypeScript command-line (\`tsc\`) to type check all files in \`src/\`:
111
+
112
+ \`\`\`shell
113
+ pnpm tsc
114
+ \`\`\`
115
+
116
+ Add \`--watch\` to keep the type checker running in a watch mode that updates the display as you save files:
117
+
118
+ \`\`\`shell
119
+ pnpm tsc --watch
120
+ \`\`\`
106
121
` ;
107
122
}
You can’t perform that action at this time.
0 commit comments