mirror of
https://github.com/openpgpjs/openpgpjs.git
synced 2025-11-23 22:15:52 +00:00
JSDoc: add typescript support
This commit is contained in:
parent
9bc958c5cb
commit
a120eff00e
@ -3,7 +3,8 @@ const pkg = require('./package.json');
|
||||
module.exports = {
|
||||
plugins: [
|
||||
'plugins/markdown',
|
||||
'node_modules/better-docs/typedef-import'
|
||||
'node_modules/better-docs/typedef-import',
|
||||
'node_modules/better-docs/typescript'
|
||||
],
|
||||
markdown: {
|
||||
idInHeadings: true
|
||||
@ -16,5 +17,8 @@ module.exports = {
|
||||
urlPrefix: `${pkg.repository.url}/blob/v${pkg.version}/src/`
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
source: {
|
||||
includePattern: "\\.(js|ts)$",
|
||||
},
|
||||
};
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user