Skip to content

Commit 046ee99

Browse files
committed
adds the reference to the createServer method
1 parent 94f970f commit 046ee99

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed
34.7 KB
Loading

chapters/ch06.5-response-status-codes.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -286,7 +286,7 @@ It's quite simple.
286286
287287
3. With the `createServer` function highlighted, use the keyboard shortcut `Ctrl + Click` (or `Cmd + Click` on macOS) to jump to the function's declaration.
288288
289-
Doing this should take you to the definition of `createServer`. This is where things might look a bit complex due to the TypeScript type declarations. This is the type declaration:
289+
Doing this should take you to the definition of `createServer`. This is where things might look a bit complex due to the TypeScript type declarations. This is the type declaration for the method `http.createServer`:
290290
291291
```ts
292292
function createServer<

0 commit comments

Comments
 (0)