Skip to content

Commit 465fc28

Browse files
committed
for ts compilation
1 parent b05dffd commit 465fc28

File tree

2 files changed

+27
-1
lines changed

2 files changed

+27
-1
lines changed

.vscode/tasks.json

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
{
2+
// See https://go.microsoft.com/fwlink/?LinkId=733558
3+
// for the documentation about the tasks.json format
4+
"version": "2.0.0",
5+
"tasks": [
6+
{
7+
"label": "tsc",
8+
"command": "node",
9+
// "isShellCommand": true,
10+
"args": ["./node_modules/typescript/lib/tsc.js", "-w", "-p", "."],
11+
"presentation": {
12+
"echo": true,
13+
"reveal": "silent",
14+
"focus": false,
15+
"panel": "shared",
16+
"showReuseMessage": true,
17+
"clear": false,
18+
"revealProblems": "always"
19+
},
20+
//"showOutput": "silent",
21+
"isBackground": true,
22+
"problemMatcher": "$tsc-watch"
23+
}
24+
]
25+
}

tsconfig.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
"noFallthroughCasesInSwitch": true,
1010
"experimentalDecorators": true,
1111
"emitDecoratorMetadata": true,
12+
"outDir": "lib",
1213
"allowJs": false,
1314
"newLine": "LF",
1415
"plugins": [
@@ -22,5 +23,5 @@
2223
"indentSize": 2,
2324
"tabSize": 2
2425
},
25-
"exclude": ["**/node_modules/*"]
26+
"exclude": ["**/node_modules/*"]
2627
}

0 commit comments

Comments
 (0)