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 11# jsdoc-plugin-typescript
22
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.
44
55## Installation and use
66
Original file line number Diff line number Diff line change @@ -2,7 +2,6 @@ const path = require('path');
22const fs = require ( 'fs' ) ;
33const env = require ( 'jsdoc/env' ) ;
44const addInherited = require ( 'jsdoc/augment' ) . addInherited ;
5- const indexAll = require ( 'jsdoc/borrow' ) . indexAll ;
65
76const config = env . conf . typescript ;
87if ( ! config ) {
@@ -223,6 +222,6 @@ exports.astNodeVisitor = {
223222exports . handlers = {
224223 parseComplete : function ( e ) {
225224 // Build inheritance chain after adding @extends annotations
226- addInherited ( e . doclets , indexAll ( e . doclets ) ) ;
225+ addInherited ( e . doclets , e . doclets . index ) ;
227226 }
228227}
Original file line number Diff line number Diff line change 1111 " typescript"
1212 ],
1313 "license" : " BSD-2-Clause" ,
14+ "peerDependencies" : {
15+ "jsdoc" : " 3.6.0"
16+ },
1417 "repository" : {
1518 "type" : " git" ,
1619 "url" : " git://github.com/openlayers/jsdoc-plugin-typescript.git"
You can’t perform that action at this time.
0 commit comments