Skip to content
This repository was archived by the owner on Nov 6, 2019. It is now read-only.

Add workaround for typedoc #158

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion src/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,6 @@
"outDir": "../lib",
"lib": ["dom", "es5", "es2015.collection", "es2015.promise"],
"types": []
}
},
"exclude": ["typedoc.d.ts"]
}
17 changes: 17 additions & 0 deletions src/typedoc.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
/*-----------------------------------------------------------------------------
| Copyright (c) 2014-2016, PhosphorJS Contributors
|
| Distributed under the terms of the BSD 3-Clause License.
|
| The full license is in the file LICENSE, distributed with this software.
|----------------------------------------------------------------------------*/

/*
* TODO: remove this file and the excludes entry in tsconfig.json
* after typedoc understands the lib compiler option and @types packages.
*/

/// <reference path="../node_modules/typescript/lib/lib.es2015.promise.d.ts"/>
/// <reference path="../node_modules/typescript/lib/lib.dom.d.ts"/>
/// <reference path="../node_modules/typescript/lib/lib.es5.d.ts"/>
/// <reference path="../node_modules/typescript/lib/lib.es2015.collection.d.ts"/>