UNPKG

tsioc

Version:

tsioc is AOP, Ioc container, via typescript decorator

28 lines (27 loc) 639 B
import { Type } from './types'; export interface LoadOptions { /** * node modules. * * @type {((string | Type<any> | object)[])} * @memberof BuilderOptions */ modules?: (string | Type<any> | object)[]; } export interface AsyncLoadOptions extends LoadOptions { /** * fire express base on the root path. * * @type {string} * @memberof LoadOptions */ basePath?: string; /** * script files match express. * see: https://github.com/isaacs/node-glob * * @type {(string | string[])} * @memberof BuilderOptions */ files?: string | string[]; }