Skip to content

Commit f365cd1

Browse files
committed
Update to TypeScript 2.6
fixes #5
1 parent 74577a8 commit f365cd1

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

package-lock.json

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
"shelljs": "~0.7.8",
2121
"tslint": "~5.7.0",
2222
"typedoc": "~0.8.0",
23-
"typescript": "~2.5.2"
23+
"typescript": "~2.6.1"
2424
},
2525
"devDependencies": {
2626
"@types/chalk": "~0.4.31",
@@ -58,4 +58,4 @@
5858
]
5959
}
6060
}
61-
}
61+
}

src/intern-dev-clean.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ getConfigs()
1414
return outDir;
1515
})
1616
.filter(outDir => Boolean(outDir))
17-
.reduce((outDirs: string[], dir: string) => {
18-
if (outDirs.indexOf(dir) === -1) {
19-
return [ ...outDirs, dir ];
17+
.reduce((outDirs: string[], dir: string | undefined) => {
18+
if (dir && outDirs.indexOf(dir) === -1) {
19+
return [...outDirs, dir];
2020
}
2121
return outDirs;
2222
}, [])

0 commit comments

Comments
 (0)