diff --git a/tools/doc/type-parser.js b/tools/doc/type-parser.js index add331016c2204..7470bac5bfb5c7 100644 --- a/tools/doc/type-parser.js +++ b/tools/doc/type-parser.js @@ -15,10 +15,10 @@ const jsPrimitives = { const jsGlobalObjectsUrl = `${jsDocPrefix}Reference/Global_Objects/`; const jsGlobalTypes = [ - 'Array', 'ArrayBuffer', 'ArrayBufferView', 'DataView', 'Date', 'Error', + 'Array', 'ArrayBuffer', 'DataView', 'Date', 'Error', 'EvalError', 'Function', 'Map', 'Object', 'Promise', 'RangeError', 'ReferenceError', 'RegExp', 'Set', 'SharedArrayBuffer', 'SyntaxError', - 'TypeError', 'TypedArray', 'URIError', 'Uint8Array', 'WebAssembly.Instance', + 'TypeError', 'TypedArray', 'URIError', 'Uint8Array', ]; const customTypesMap = { @@ -26,9 +26,14 @@ const customTypesMap = { 'this': `${jsDocPrefix}Reference/Operators/this`, + 'ArrayBufferView': + 'https://developer.mozilla.org/en-US/docs/Web/API/ArrayBufferView', + 'AsyncIterator': 'https://tc39.github.io/ecma262/#sec-asynciterator-interface', 'bigint': `${jsDocPrefix}Reference/Global_Objects/BigInt`, + 'WebAssembly.Instance': + `${jsDocPrefix}Reference/Global_Objects/WebAssembly/Instance`, 'Iterable': `${jsDocPrefix}Reference/Iteration_protocols#The_iterable_protocol`,