From 4c4524629f4fc902ef9f95547754e9144d0f377b Mon Sep 17 00:00:00 2001 From: Rich Trott Date: Mon, 4 Jun 2018 18:05:33 +0000 Subject: [PATCH] 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. --- tools/doc/type-parser.js | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/tools/doc/type-parser.js b/tools/doc/type-parser.js index e7c7aa69da5e95..7972e678c7192e 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 = {