summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorRich Trott <rtrott@gmail.com>2018-06-04 18:05:33 +0000
committerMichaël Zasso <targos@protonmail.com>2018-06-08 10:09:54 +0200
commit6ac3c44012cf0a52c3d586c4fcf473d98fce69ef (patch)
treed6d6b9529e9d8759746a3aa5dd731a8fc719ca85 /tools
parent55e597d30658d34388eaeb2248b87ad76b338dff (diff)
downloadandroid-node-v8-6ac3c44012cf0a52c3d586c4fcf473d98fce69ef.tar.gz
android-node-v8-6ac3c44012cf0a52c3d586c4fcf473d98fce69ef.tar.bz2
android-node-v8-6ac3c44012cf0a52c3d586c4fcf473d98fce69ef.zip
tools: remove unused global types from type-parser
`tools/doc/type-parser.js` has several global types that are not used. Remove the unused global types. PR-URL: https://github.com/nodejs/node/pull/21135 Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com> Reviewed-By: Michaël Zasso <targos@protonmail.com>
Diffstat (limited to 'tools')
-rw-r--r--tools/doc/type-parser.js9
1 files changed, 3 insertions, 6 deletions
diff --git a/tools/doc/type-parser.js b/tools/doc/type-parser.js
index 87138668c0..0fd99fa83e 100644
--- a/tools/doc/type-parser.js
+++ b/tools/doc/type-parser.js
@@ -15,13 +15,10 @@ const jsPrimitives = {
const jsGlobalObjectsUrl = `${jsDocPrefix}Reference/Global_Objects/`;
const jsGlobalTypes = [
- 'Array', 'ArrayBuffer', 'AsyncFunction', 'DataView', 'Date', 'Error',
- 'EvalError', 'Float32Array', 'Float64Array', 'Function', 'Generator',
- 'GeneratorFunction', 'Int16Array', 'Int32Array', 'Int8Array', 'Map', 'Object',
- 'Promise', 'Proxy', 'RangeError', 'ReferenceError', 'RegExp', 'Set',
+ 'Array', 'ArrayBuffer', 'DataView', 'Date', 'Error', 'EvalError', 'Function',
+ 'Object', 'Promise', 'RangeError', 'ReferenceError', 'RegExp',
'SharedArrayBuffer', 'SyntaxError', 'TypeError', 'TypedArray', 'URIError',
- 'Uint16Array', 'Uint32Array', 'Uint8Array', 'Uint8ClampedArray', 'WeakMap',
- 'WeakSet'
+ 'Uint8Array',
];
const customTypesMap = {