Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit ed2b57b

Browse filesBrowse 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 <vsemozhetbyt@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com> Reviewed-By: Michaël Zasso <targos@protonmail.com>
1 parent a657984 commit ed2b57b
Copy full SHA for ed2b57b

File tree

Expand file treeCollapse file tree

1 file changed

+3
-6
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+3
-6
lines changed
Open diff view settings
Collapse file

‎tools/doc/type-parser.js‎

Copy file name to clipboardExpand all lines: tools/doc/type-parser.js
+3-6Lines changed: 3 additions & 6 deletions
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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.