We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f2665ab commit 95dc7e4Copy full SHA for 95dc7e4
src/server.ts
@@ -7,7 +7,7 @@ const server = http.createServer(app);
7
8
app
9
.get('/',
10
- (_, res) => {
+ (req, res) => {
11
res.send('Hello ts-node!');
12
}
13
);
tsconfig.json
@@ -0,0 +1,15 @@
1
+{
2
+ "compilerOptions": {
3
+ "target": "es5",
4
+ "module": "commonjs",
5
+ "lib": [
6
+ "dom",
+ "esnext"
+ ],
+ "allowJs": true,
+ "strict": true,
+ "noImplicitAny": false,
+ "types": [],
+ "esModuleInterop": true
14
+ }
15
+}
0 commit comments