We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0a29479 commit ef3ce35Copy full SHA for ef3ce35
scripts/docgen-post.js
@@ -1,10 +1,12 @@
1
const fs = require('fs');
2
const { join: path } = require('path');
3
4
+// TypeScript-only types need to be replaced with JSDoc types
5
const replaceMap = {
6
// Replace TS Record<> type with regular Object.<>
7
'Record': 'Object',
- 'NodeJS.Timeout': 'Interval'
8
+ 'NodeJS.Timeout': 'Interval',
9
+ 'http.Server': 'Server'
10
};
11
12
const docsPath = path(__dirname, '../docs/docs.json');
0 commit comments