soiz1 commited on
Commit
e50de44
·
verified ·
1 Parent(s): c752f20

Update src/addons/api.js

Browse files
Files changed (1) hide show
  1. src/addons/api.js +1 -1
src/addons/api.js CHANGED
@@ -706,7 +706,7 @@ class AddonRunner {
706
  /**
707
  * @type {Record<string, unknown>}
708
  */
709
- this.resources = null;
710
 
711
  this.publicAPI = {
712
  global,
 
706
  /**
707
  * @type {Record<string, unknown>}
708
  */
709
+ this.resources = {}; // 🔹 null → {} に修正(空のオブジェクト)
710
 
711
  this.publicAPI = {
712
  global,