Skip to content

Commit 0fb2d29

Browse files
authored
chore(index): hide global from api docs (#496)
1 parent 83a7b99 commit 0fb2d29

File tree

2 files changed

+4
-12
lines changed

2 files changed

+4
-12
lines changed

API.md

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,6 @@
55
<dd></dd>
66
</dl>
77

8-
## Constants
9-
10-
<dl>
11-
<dt><a href="#ERROR_MSGS">ERROR_MSGS</a> : <code>Record.&lt;string, string&gt;</code></dt>
12-
<dd></dd>
13-
</dl>
14-
158
## Typedefs
169

1710
<dl>
@@ -87,10 +80,6 @@ UnRTF will use the directory of the original file to store embedded pictures.
8780

8881
### UnRTF.UnRTF : <code>string</code> \| <code>undefined</code>
8982
**Kind**: static property of [<code>UnRTF</code>](#UnRTF)
90-
<a name="ERROR_MSGS"></a>
91-
92-
## ERROR\_MSGS : <code>Record.&lt;string, string&gt;</code>
93-
**Kind**: global constant
9483
<a name="OptionDetails"></a>
9584

9685
## OptionDetails : <code>object</code>

src/index.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,10 @@ const { normalize, resolve: pathResolve } = require("node:path");
66
const { platform } = require("node:process");
77
const { gt, lt } = require("semver");
88

9-
/** @type {Record<string, string>} */
9+
/**
10+
* @type {Readonly<Record<string, string>>}
11+
* @ignore
12+
*/
1013
const ERROR_MSGS = {
1114
3221225477: "Segmentation fault",
1215
};

0 commit comments

Comments
 (0)