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
@@ -69,6 +69,7 @@
this.title = title;
this.desc = desc;
this.__cands = [];
/** @type Array<Astro.Blog.AstroEdit.SmartInput.Definition> */
this.__defs = defs || {};
this.Empty = !defs;
};
@@ -79,7 +80,6 @@
for( var i in this.__defs )
{
/** @param {Astro.Blog.AstroEdit.SmartInput.Definition} */
var c = this.__defs[i];
this.__cands.push( Dand.wrapc( "cn", [ i, Dand.wrapc( "desc", c.desc ) ], new DataKey( "key", i ) ) );
}