Migrate old externs 1/x

This commit is contained in:
2026-06-12 04:52:10 +08:00
parent f532ada7c4
commit c98fcfb640
61 changed files with 140 additions and 140 deletions
+13 -13
View File
@@ -2,24 +2,24 @@
Dandelion.IDOMElement = function (){}
/** @type {Function} */
Dandelion.IDOMElement.getDAttribute;
Dandelion.IDOMElement.prototype.getDAttribute = function() {};
/** @type {Function} */
Dandelion.IDOMElement.setAttribute;
Dandelion.IDOMElement.prototype.setAttribute = function() {};
/** @type {Function} */
Dandelion.IDOMElement.loot;
Dandelion.IDOMElement.prototype.loot = function() {};
/** @type {Function} */
Dandelion.IDOMElement.clear;
Dandelion.IDOMElement.prototype.clear = function() {};
/** @type {Function} */
Dandelion.IDOMElement.foreach;
Dandelion.IDOMElement.prototype.foreach = function() {};
/** @type {Function} */
Dandelion.IDOMElement.first;
Dandelion.IDOMElement.prototype.first = function() {};
/** @type {Function} */
Dandelion.IDOMElement.last;
Dandelion.IDOMElement.prototype.last = function() {};
/** @type {Function} */
Dandelion.IDOMElement.contains;
Dandelion.IDOMElement.prototype.contains = function() {};
/** @type {Function} */
Dandelion.IDOMElement.aKeys;
/** @type {Element} */
Dandelion.IDOMElement.element;
/** @type {Element} */
Dandelion.IDOMElement.reverseChild;
Dandelion.IDOMElement.prototype.aKeys = function() {};
/** @type {HTMLElement} */
Dandelion.IDOMElement.prototype.element;
/** @type {function(): void} */
Dandelion.IDOMElement.prototype.reverseChild = function() {};
+20 -20
View File
@@ -1,38 +1,38 @@
/** @constructor */
var Dandelion = function (){}
var Dandelion = function (){};
/** @type {function(...?): HTMLElement} */
Dandelion.wrap;
/** @type {function(...?): !HTMLElement} */
Dandelion.wrap = function() {};
/** @type {function(...?): HTMLElement} */
Dandelion.wrapc;
/** @type {function(...?): !HTMLElement} */
Dandelion.wrapc = function() {};
/** @type {function(...?): HTMLElement} */
Dandelion.wrape;
/** @type {function(...?): !HTMLElement} */
Dandelion.wrape = function() {};
/** @type {function(...?): HTMLElement} */
Dandelion.wrapne;
/** @type {function(...?): !HTMLElement} */
Dandelion.wrapne = function() {};
/** @type {function(...?): HTMLElement} */
Dandelion.wrapna;
/** @type {function(...?): !HTMLElement} */
Dandelion.wrapna = function() {};
/** @type {function(string): HTMLElement} */
Dandelion.textNode;
/** @type {function(string): !HTMLElement} */
Dandelion.textNode = function() {};
/** @type {function(string): HTMLElement} */
Dandelion.bubbleUp;
/** @type {function(string): !HTMLElement} */
Dandelion.bubbleUp = function() {};
/** @type {function(HTMLElement, function(HTMLElement): boolean): void} */
Dandelion.chainUpApply;
Dandelion.chainUpApply = function() {};
/** @type {function(string, boolean=): (HTMLElement|Dandelion.IDOMElement)} */
Dandelion.id;
Dandelion.id = function() {};
/** @type {Function} */
Dandelion.tag;
Dandelion.tag = function() {};
/** @type {Function} */
Dandelion.name;
Dandelion.name = function() {};
/** @type {Function} */
Dandelion.glass;
Dandelion.glass = function() {};