@foblex/m-render 2.7.9 → 2.8.1

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,16 +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: {
443
- requestToken: symbol;
444
- }): (constructor: Constructor<IExecution<TRequest, TResponse>>) => void;
442
+ declare function MExecution<TRequest, TResponse>(requestType: Type<TRequest>): (constructor: Constructor<IExecution<TRequest, TResponse>>) => void;
445
443
 
446
444
  declare class Mediatr {
447
445
  private readonly _injector;
448
446
  private static _executions;
449
- static register<TRequest, TResponse>(type: {
450
- requestToken: symbol;
451
- }, handler: Type<IExecution<TRequest, TResponse>>): void;
447
+ static register<TRequest, TResponse>(type: any, handler: Type<IExecution<TRequest, TResponse>>): void;
452
448
  execute<TResponse>(request: any): TResponse;
453
449
  static ɵfac: i0.ɵɵFactoryDeclaration<Mediatr, never>;
454
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.7.9",
3
+ "version": "2.8.1",
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",