Imports jsDoc comments from external files, via jsDoc-like reference:
/**
* @docref
* @file src/product.js
* @match Product.buy
*/
buy(id: string, count: number):Receipt
See the Rationale for this project.
IMPORTANT: It is currently at the stage of writing Specification.
$npm install docref -g
Run docref
without arguments, to see the supported syntax.