Migrate old externs 5/x

This commit is contained in:
2026-06-15 07:12:40 +08:00
parent 4f2131e317
commit a912d45b9a
24 changed files with 153 additions and 86 deletions
+22 -8
View File
@@ -1,11 +1,25 @@
/** @constructor */
System.utils = function (){}
/** @type {Function} */
System.utils.objGetProp;
/** @type {Function} */
System.utils.objSearch;
/** @type {Function} */
System.utils.objMap;
/** @type {Function} */
System.utils.siteProto;
/**
* @param {*} obj
* @param {string} prop
* @param {string} type
*/
System.utils.prototype.objGetProp = function(obj, prop, type) {};
/**
* @param {*} obj
* @param {function(*): boolean} cond
* @param {string} prop
*/
System.utils.prototype.objSearch = function(obj, cond, prop) {};
/**
* @param {*} obj
* @param {function(*): *} callback
*/
System.utils.prototype.objMap = function(obj, callback) {};
/** @type {function(string): string} */
System.utils.prototype.siteProto = function(path){};