@thisisagile/easy
Advanced tools
Comparing version 1.12.11 to 1.12.12
import { Constructor } from '../types'; | ||
export declare class AppProvider { | ||
use: <T>(resource: Constructor<T>) => this; | ||
export interface AppProvider { | ||
use: (h: unknown) => void; | ||
route: (r: Constructor) => void; | ||
listen: (port: number) => void; | ||
} |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.AppProvider = void 0; | ||
class AppProvider { | ||
constructor() { | ||
this.use = (resource) => this; | ||
} | ||
} | ||
exports.AppProvider = AppProvider; | ||
//# sourceMappingURL=AppProvider.js.map |
{ | ||
"name": "@thisisagile/easy", | ||
"version": "1.12.11", | ||
"version": "1.12.12", | ||
"description": "Straightforward library for building domain-driven microservice architectures", | ||
@@ -5,0 +5,0 @@ "author": "Sander Hoogendoorn", |
import { Constructor } from '../types'; | ||
export class AppProvider { | ||
use = <T>(resource: Constructor<T>): this => this; | ||
export interface AppProvider { | ||
use: (h: unknown) => void; | ||
route: (r: Constructor) => void; | ||
listen: (port: number) => void | ||
} |
Sorry, the diff of this file is not supported yet
137519
194
2015