Skip to content

Commit 8717ed6

Browse files
authored
docs: Generate documentation for TypeScript files (#2121)
1 parent 6b927a3 commit 8717ed6

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

jsdoc-conf.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,14 @@
11
{
22
"plugins": ["node_modules/jsdoc-babel", "plugins/markdown"],
33
"babel": {
4-
"plugins": ["@babel/plugin-transform-flow-comments"]
4+
"babelrc": false,
5+
"extensions": ["js", "ts", "jsx", "tsx"],
6+
"plugins": ["@babel/plugin-transform-flow-comments"],
7+
"presets": ["@babel/preset-typescript"]
58
},
69
"source": {
710
"include": ["./README.md"],
11+
"includePattern": "\\.(jsx|js|ts|tsx)$",
812
"excludePattern": "(^|\\/|\\\\)_"
913
},
1014
"templates": {

0 commit comments

Comments
 (0)