Skip to content

Commit ed2b57b

Browse files
Trotttargos
authored andcommitted
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: #21135 Reviewed-By: Vse Mozhet Byt <[email protected]> Reviewed-By: Trivikram Kamat <[email protected]> Reviewed-By: Michaël Zasso <[email protected]>
1 parent a657984 commit ed2b57b

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

tools/doc/type-parser.js

+3-6
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,10 @@ const jsPrimitives = {
1515

1616
const jsGlobalObjectsUrl = `${jsDocPrefix}Reference/Global_Objects/`;
1717
const jsGlobalTypes = [
18-
'Array', 'ArrayBuffer', 'AsyncFunction', 'DataView', 'Date', 'Error',
19-
'EvalError', 'Float32Array', 'Float64Array', 'Function', 'Generator',
20-
'GeneratorFunction', 'Int16Array', 'Int32Array', 'Int8Array', 'Map', 'Object',
21-
'Promise', 'Proxy', 'RangeError', 'ReferenceError', 'RegExp', 'Set',
18+
'Array', 'ArrayBuffer', 'DataView', 'Date', 'Error', 'EvalError', 'Function',
19+
'Object', 'Promise', 'RangeError', 'ReferenceError', 'RegExp',
2220
'SharedArrayBuffer', 'SyntaxError', 'TypeError', 'TypedArray', 'URIError',
23-
'Uint16Array', 'Uint32Array', 'Uint8Array', 'Uint8ClampedArray', 'WeakMap',
24-
'WeakSet'
21+
'Uint8Array',
2522
];
2623

2724
const customTypesMap = {

0 commit comments

Comments
 (0)