Browse Source

fix: constructor parameters type of DebuggableService class

e22m4u 3 months ago
parent
commit
257a8b91c9
1 changed files with 6 additions and 1 deletions
  1. 6 1
      src/debuggable-service.d.ts

+ 6 - 1
src/debuggable-service.d.ts

@@ -1,6 +1,7 @@
 import {Service} from './service.js';
 import {Constructor} from './types.js';
 import {Debuggable} from '@e22m4u/js-debug';
+import {DebuggableOptions} from '@e22m4u/js-debug';
 import {ServiceContainer} from './service-container.js';
 
 /**
@@ -21,8 +22,12 @@ export class DebuggableService extends Debuggable implements Service {
    * Constructor.
    *
    * @param container
+   * @param options
    */
-  constructor(container?: ServiceContainer);
+  constructor(
+    container?: ServiceContainer,
+    options?: DebuggableOptions,
+  );
 
   /**
    * Получить существующий или новый экземпляр.