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>
This commit is contained in:
parent
55e597d306
commit
6ac3c44012
@ -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 = {
|
||||
|
Loading…
x
Reference in New Issue
Block a user