@foblex/m-render 2.8.2 → 2.8.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.d.ts CHANGED
@@ -439,12 +439,12 @@ interface IHandler<TRequest, TResponse> {
439
439
  type IExecution<TRequest, TResponse> = IHandler<TRequest, TResponse>;
440
440
 
441
441
  type Constructor<T = any> = new (...args: any[]) => T;
442
- declare function MExecution<TRequest, TResponse>(requestType: Type<TRequest>): (constructor: Constructor<IExecution<TRequest, TResponse>>) => void;
442
+ declare function MExecution<TRequest, TResponse>(requestType: symbol): (constructor: Constructor<IExecution<TRequest, TResponse>>) => void;
443
443
 
444
444
  declare class Mediatr {
445
445
  private readonly _injector;
446
446
  private static _executions;
447
- static register<TRequest, TResponse>(type: any, handler: Type<IExecution<TRequest, TResponse>>): void;
447
+ static register<TRequest, TResponse>(type: symbol, handler: Type<IExecution<TRequest, TResponse>>): void;
448
448
  execute<TResponse>(request: any): TResponse;
449
449
  static ɵfac: i0.ɵɵFactoryDeclaration<Mediatr, never>;
450
450
  static ɵprov: i0.ɵɵInjectableDeclaration<Mediatr>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@foblex/m-render",
3
- "version": "2.8.2",
3
+ "version": "2.8.3",
4
4
  "description": "MRender is a static site generator designed for creating fast and user-friendly documentation sites based on Markdown files. MarkEngine supports extended Markdown syntax and can render Angular components directly from Markdown files.",
5
5
  "author": "Siarhei Huzarevich",
6
6
  "license": "MIT",