forked from Botanical/BotanJS
Migrate old externs 6/x
This commit is contained in:
@@ -1,5 +1,12 @@
|
||||
/** @constructor */
|
||||
Astro.Mechanism.CharacterCloud = function() {};
|
||||
|
||||
/** @type {Function} */
|
||||
Astro.Mechanism.CharacterCloud.create;
|
||||
/**
|
||||
* @param {Array<string>} ch
|
||||
* @param {?string} char_class
|
||||
* @param {number} size
|
||||
* @param {Dandelion.Bounds} cloudRange
|
||||
* @param {number=} charSize
|
||||
* @return {HTMLElement}
|
||||
*/
|
||||
Astro.Mechanism.CharacterCloud.create = function(ch, char_class, size, cloudRange, charSize) {};
|
||||
|
||||
@@ -21,9 +21,9 @@ System.Cycle.prototype.delay = function(callback, ms) {};
|
||||
System.Cycle.prototype.perma = function(id, callback, intvl){};
|
||||
|
||||
/**
|
||||
* @param {function(string): void} callback
|
||||
* @param {string} id
|
||||
*/
|
||||
System.Cycle.prototype.permaRemove = function(callback) {};
|
||||
System.Cycle.prototype.permaRemove = function(id) {};
|
||||
|
||||
/** @type {System.Tick} */
|
||||
System.Cycle.prototype.TICK;
|
||||
|
||||
@@ -2,6 +2,6 @@
|
||||
* @constructor
|
||||
* @extends {System.utils.IKey}
|
||||
* @param {string} key
|
||||
* @param {*} data
|
||||
* @param {*=} data
|
||||
*/
|
||||
System.utils.DataKey = function(key, data) {};
|
||||
|
||||
@@ -1,5 +1,8 @@
|
||||
/** @constructor */
|
||||
_3rdParty_.Recaptcha = function() {};
|
||||
|
||||
/** @type {Function} */
|
||||
_3rdParty_.execute;
|
||||
/**
|
||||
* @param {string} apikey
|
||||
* @param {Object<string, string>} action
|
||||
**/
|
||||
_3rdParty_.prototype.execute = function(apikey, action) {};
|
||||
|
||||
@@ -1,29 +1,30 @@
|
||||
/** @type {Object} */
|
||||
_AstJson_.SiteFile = {};
|
||||
/**
|
||||
* @typedef {{
|
||||
* status: boolean,
|
||||
* message: string,
|
||||
* file: !_AstJson_.SiteFile.File
|
||||
* }}
|
||||
*/
|
||||
_AstJson_.SiteFile;
|
||||
|
||||
/** @type {Boolean} */
|
||||
_AstJson_.SiteFile.status;
|
||||
/** @type {string} */
|
||||
_AstJson_.SiteFile.message;
|
||||
/** @type {Object} */
|
||||
_AstJson_.SiteFile.file;
|
||||
/** @type {string} */
|
||||
_AstJson_.SiteFile.file.date_created;
|
||||
/** @type {string} */
|
||||
_AstJson_.SiteFile.file.name;
|
||||
/** @type {string} */
|
||||
_AstJson_.SiteFile.file.id;
|
||||
/** @type {string} */
|
||||
_AstJson_.SiteFile.file.nickname;
|
||||
/** @type {string} */
|
||||
_AstJson_.SiteFile.file.type;
|
||||
/** @type {string} */
|
||||
_AstJson_.SiteFile.file.src_location;
|
||||
/** @type {Object} */
|
||||
_AstConf_.SiteFile.thumbes;
|
||||
/** @type {string} */
|
||||
_AstConf_.SiteFile.thumbs.small;
|
||||
/** @type {string} */
|
||||
_AstConf_.SiteFile.thumbs.medium;
|
||||
/** @type {string} */
|
||||
_AstConf_.SiteFile.thumbs.large;
|
||||
/**
|
||||
* @typedef {{
|
||||
* date_created: string,
|
||||
* name: string,
|
||||
* id: string,
|
||||
* nickname: string,
|
||||
* type: string,
|
||||
* src_location: string,
|
||||
* thumbs: !_AstJson_.SiteFile.Thumbs
|
||||
* }}
|
||||
*/
|
||||
_AstJson_.SiteFile.File;
|
||||
|
||||
/**
|
||||
* @typedef {{
|
||||
* small: string,
|
||||
* medium: string,
|
||||
* large: string
|
||||
* }}
|
||||
*/
|
||||
_AstJson_.SiteFile.Thumbs;
|
||||
|
||||
Reference in New Issue
Block a user