You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Jsdoc doesn't support to add dynamic property of object
if(undefined===globalThis.using){/** * @type {object} */globalThis.using={};}/*** what is jsdoc at here ?*/constaddProperty=(key,value)=>{globalThis.using[key]=value;};constsetUsing=obj=>{Object.keys(obj).each(key=>{// do something to jsdoc logs dynamic new property// Object.assign(globalThis.using, { [key]: obj[key] });// or jsdoc probable logs new property like this// globalThis.using[key] = obj[key];// or jsdoc logs new property from callbackaddProperty(key,obj[key]);});};constlistMethods={computing: ()=>{},makeBlock: ()=>{}};setUsing(listMethods);
i want
The text was updated successfully, but these errors were encountered: