Skip to content

Commit 7b78de8

Browse files
Bugfix: Wrong path to default lib, see #134
1 parent 96a6a84 commit 7b78de8

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

bin/typedoc.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -547,7 +547,7 @@ var td;
547547
/**
548548
* The version number of TypeDoc.
549549
*/
550-
Application.VERSION = '0.3.9';
550+
Application.VERSION = '0.3.10';
551551
return Application;
552552
})(td.EventDispatcher);
553553
td.Application = Application;
@@ -2105,7 +2105,7 @@ var td;
21052105
Converter.prototype.getDefaultLibFileName = function (options) {
21062106
var lib = this.getDefaultLib();
21072107
var path = ts.getDirectoryPath(ts.normalizePath(td.tsPath));
2108-
return td.Path.join(path, 'bin', lib);
2108+
return td.Path.join(path, 'lib', lib);
21092109
};
21102110
/**
21112111
* Return the full path of the current directory.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "typedoc",
33
"description": "Create api documentations for typescript projects.",
4-
"version": "0.3.9",
4+
"version": "0.3.10",
55
"homepage": "http://typedoc.io",
66
"bin": {
77
"typedoc": "bin/typedoc"

src/td/converter/Converter.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -416,7 +416,7 @@ module td.converter
416416
getDefaultLibFileName(options: ts.CompilerOptions):string {
417417
var lib = this.getDefaultLib();
418418
var path = ts.getDirectoryPath(ts.normalizePath(td.tsPath));
419-
return Path.join(path, 'bin', lib);
419+
return Path.join(path, 'lib', lib);
420420
}
421421

422422

0 commit comments

Comments
 (0)