File tree Expand file tree Collapse file tree 3 files changed +5
-3
lines changed Expand file tree Collapse file tree 3 files changed +5
-3
lines changed Original file line number Diff line number Diff line change 1
1
# jsdoc-plugin-typescript
2
2
3
- Plugin to make TypeScript's JSDoc type annotations work with JSDoc.
3
+ Plugin to make TypeScript's JSDoc type annotations work with JSDoc. Requires JSDoc v3.6.0 or higher.
4
4
5
5
## Installation and use
6
6
Original file line number Diff line number Diff line change @@ -2,7 +2,6 @@ const path = require('path');
2
2
const fs = require ( 'fs' ) ;
3
3
const env = require ( 'jsdoc/env' ) ;
4
4
const addInherited = require ( 'jsdoc/augment' ) . addInherited ;
5
- const indexAll = require ( 'jsdoc/borrow' ) . indexAll ;
6
5
7
6
const config = env . conf . typescript ;
8
7
if ( ! config ) {
@@ -223,6 +222,6 @@ exports.astNodeVisitor = {
223
222
exports . handlers = {
224
223
parseComplete : function ( e ) {
225
224
// Build inheritance chain after adding @extends annotations
226
- addInherited ( e . doclets , indexAll ( e . doclets ) ) ;
225
+ addInherited ( e . doclets , e . doclets . index ) ;
227
226
}
228
227
}
Original file line number Diff line number Diff line change 11
11
" typescript"
12
12
],
13
13
"license" : " BSD-2-Clause" ,
14
+ "peerDependencies" : {
15
+ "jsdoc" : " 3.6.0"
16
+ },
14
17
"repository" : {
15
18
"type" : " git" ,
16
19
"url" : " git://github.com/openlayers/jsdoc-plugin-typescript.git"
You can’t perform that action at this time.
0 commit comments