Browse Source

chore: improves JSDoc annotations

e22m4u 2 years ago
parent
commit
2dc0dcec37
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/service.js

+ 2 - 2
src/service.js

@@ -14,9 +14,9 @@ export class Service {
   /**
   /**
    * Constructor.
    * Constructor.
    *
    *
-   * @param container
+   * @param {ServiceContainer|undefined} container
    */
    */
-  constructor(container) {
+  constructor(container = undefined) {
     this.container =
     this.container =
       container instanceof ServiceContainer
       container instanceof ServiceContainer
         ? container
         ? container