Skip to content

Commit

Permalink
Add docs to types
Browse files Browse the repository at this point in the history
  • Loading branch information
wooorm committed Nov 6, 2022
1 parent 31f7a40 commit fd9b253
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
4 changes: 3 additions & 1 deletion build.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,7 @@ const doc = fs.readFileSync('data.txt', 'utf8')

fs.writeFileSync(
'index.js',
'export const hedges = ' + JSON.stringify(toJson(doc), null, 2) + '\n'
'/**\n * List of *supposed* English (both British and American) hedge words.\n */\nexport const hedges = ' +
JSON.stringify(toJson(doc), null, 2) +
'\n'
)
3 changes: 3 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
/**
* List of *supposed* English (both British and American) hedge words.
*/
export const hedges = [
'a bit',
'about',
Expand Down

0 comments on commit fd9b253

Please sign in to comment.