Skip to content

Commit 94f6316

Browse files
chore(packge): update to latest typescript
1 parent b30099c commit 94f6316

File tree

3 files changed

+11
-6
lines changed

3 files changed

+11
-6
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
"mocha": "^5.2.0",
4747
"ts-node": "^6.1.0",
4848
"tslint": "^5.10.0",
49-
"typescript": "^2.9.1"
49+
"typescript": "^3.2.2"
5050
},
5151
"contributors": [
5252
"Pete Bacon Darwin <[email protected]>",

src/packages/trackDocLogger.ts

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
11
const _ = require('lodash');
22
import {Package} from '../Package';
3-
const options = {
4-
docsToTrackFn: function(docs) {}
3+
4+
interface TrackDocLoggerOptions {
5+
docsToTrackFn(docs: any[]): any[]|undefined;
6+
}
7+
const options: TrackDocLoggerOptions = {
8+
docsToTrackFn(docs) { return undefined; }
59
};
610

711
const generations = [];

yarn.lock

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1696,9 +1696,10 @@ type-detect@^4.0.0:
16961696
version "4.0.8"
16971697
resolved "https://registry.yarnpkg.com/type-detect/-/type-detect-4.0.8.tgz#7646fb5f18871cfbb7749e69bd39a6388eb7450c"
16981698

1699-
typescript@^2.9.1:
1700-
version "2.9.2"
1701-
resolved "https://registry.yarnpkg.com/typescript/-/typescript-2.9.2.tgz#1cbf61d05d6b96269244eb6a3bce4bd914e0f00c"
1699+
typescript@^3.2.2:
1700+
version "3.2.2"
1701+
resolved "https://registry.yarnpkg.com/typescript/-/typescript-3.2.2.tgz#fe8101c46aa123f8353523ebdcf5730c2ae493e5"
1702+
integrity sha512-VCj5UiSyHBjwfYacmDuc/NOk4QQixbE+Wn7MFJuS0nRuPQbof132Pw4u53dm264O8LPc2MVsc7RJNml5szurkg==
17021703

17031704
typescript@~2.7.1:
17041705
version "2.7.2"

0 commit comments

Comments
 (0)