diff --git a/publish.js b/publish.js index 4d999e8..aa3e4ef 100644 --- a/publish.js +++ b/publish.js @@ -259,47 +259,48 @@ var unwrapType = function (name, display) { // External type links const builtins = { - "undefined": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Undefined", - "null": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Null", - "array": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array", - "arraybuffer": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer", - "boolean": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean", - "element": "https://developer.mozilla.org/en-US/docs/Web/API/Element", - "error": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Error", - "function": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function", - "htmlimageelement": "https://developer.mozilla.org/en-US/docs/Web/API/HTMLImageElement", - "htmlvideoelement": "https://developer.mozilla.org/en-US/docs/Web/API/HTMLVideoElement", - "htmlaudioelement": "https://developer.mozilla.org/en-US/docs/Web/API/HTMLAudioElement", - "htmlcanvaselement": "https://developer.mozilla.org/en-US/docs/Web/API/HTMLCanvasElement", - "globalthis.keyboardevent": "https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent", - "globalthis.mouseevent": "https://developer.mozilla.org/en-US/docs/Web/API/MouseEvent", - "number": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number", - "object": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object", - "string": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String", - "globalthis.touch": "https://developer.mozilla.org/en-US/docs/Web/API/Touch", - "globalthis.touchevent": "https://developer.mozilla.org/en-US/docs/Web/API/TouchEvent", - "audio": "https://developer.mozilla.org/en-US/docs/Web/HTML/Element/audio", - "audionode": "https://developer.mozilla.org/en-US/docs/Web/API/AudioNode", - "audiobuffer": "https://developer.mozilla.org/en-US/docs/Web/API/AudioBuffer", - "audiocontext": "https://developer.mozilla.org/en-US/docs/Web/API/AudioContext", - "audiobuffersourcenode": "https://developer.mozilla.org/en-US/docs/Web/API/AudioBufferSourceNode", - "window": "https://developer.mozilla.org/en-US/docs/Web/API/Window", - "int8array": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Int8Array", - "uint8array": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array", - "uint8clampedarray": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8ClampedArray", - "int16array": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Int16Array", - "uint16array": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint16Array", - "int32array": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Int32Array", - "uint32array": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint32Array", - "float32array": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Float32Array", - "gamepad": "https://developer.mozilla.org/en-US/docs/Web/API/Gamepad", - "document": "https://developer.mozilla.org/en-US/docs/Web/API/Document", - "xmlhttprequest": "https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest", - "svgimageelement": "https://developer.mozilla.org/en-US/docs/Web/API/SVGImageElement", - "blob": "https://developer.mozilla.org/en-US/docs/Web/API/Blob", - "imagedata": "https://developer.mozilla.org/en-US/docs/Web/API/ImageData", - "imagebitmap": "https://developer.mozilla.org/en-US/docs/Web/API/ImageBitmap", - "this": "https://www.typescriptlang.org/docs/handbook/advanced-types.html#polymorphic-this-types", + 'undefined': 'https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Undefined', + 'null': 'https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Null', + 'array': 'https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array', + 'arraybuffer': 'https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer', + 'boolean': 'https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean', + 'element': 'https://developer.mozilla.org/en-US/docs/Web/API/Element', + 'error': 'https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Error', + 'function': 'https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function', + 'htmlimageelement': 'https://developer.mozilla.org/en-US/docs/Web/API/HTMLImageElement', + 'htmlvideoelement': 'https://developer.mozilla.org/en-US/docs/Web/API/HTMLVideoElement', + 'htmlaudioelement': 'https://developer.mozilla.org/en-US/docs/Web/API/HTMLAudioElement', + 'htmlcanvaselement': 'https://developer.mozilla.org/en-US/docs/Web/API/HTMLCanvasElement', + 'globalthis.keyboardevent': 'https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent', + 'globalthis.mouseevent': 'https://developer.mozilla.org/en-US/docs/Web/API/MouseEvent', + 'number': 'https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number', + 'object': 'https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object', + 'string': 'https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String', + 'globalthis.touch': 'https://developer.mozilla.org/en-US/docs/Web/API/Touch', + 'globalthis.touchevent': 'https://developer.mozilla.org/en-US/docs/Web/API/TouchEvent', + 'audio': 'https://developer.mozilla.org/en-US/docs/Web/HTML/Element/audio', + 'audionode': 'https://developer.mozilla.org/en-US/docs/Web/API/AudioNode', + 'audiobuffer': 'https://developer.mozilla.org/en-US/docs/Web/API/AudioBuffer', + 'audiocontext': 'https://developer.mozilla.org/en-US/docs/Web/API/AudioContext', + 'audiobuffersourcenode': 'https://developer.mozilla.org/en-US/docs/Web/API/AudioBufferSourceNode', + 'window': 'https://developer.mozilla.org/en-US/docs/Web/API/Window', + 'int8array': 'https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Int8Array', + 'uint8array': 'https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array', + 'uint8clampedarray': 'https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8ClampedArray', + 'int16array': 'https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Int16Array', + 'uint16array': 'https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint16Array', + 'int32array': 'https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Int32Array', + 'uint32array': 'https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint32Array', + 'float32array': 'https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Float32Array', + 'gamepad': 'https://developer.mozilla.org/en-US/docs/Web/API/Gamepad', + 'document': 'https://developer.mozilla.org/en-US/docs/Web/API/Document', + 'xmlhttprequest': 'https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest', + 'svgimageelement': 'https://developer.mozilla.org/en-US/docs/Web/API/SVGImageElement', + 'blob': 'https://developer.mozilla.org/en-US/docs/Web/API/Blob', + 'imagedata': 'https://developer.mozilla.org/en-US/docs/Web/API/ImageData', + 'imagebitmap': 'https://developer.mozilla.org/en-US/docs/Web/API/ImageBitmap', + 'this': 'https://www.typescriptlang.org/docs/handbook/advanced-types.html#polymorphic-this-types', + 'xrhittestresult': 'https://developer.mozilla.org/en-US/docs/Web/API/XRHitTestResult', "*": "#" // blerg };