@hestjs/core
Version:
HestJS Core Framework - A TypeScript framework built on Hono with dependency injection and decorators
13 lines • 430 B
TypeScript
import 'reflect-metadata';
import type { InjectableMetadata } from '../interfaces/metadata';
declare global {
namespace Reflect {
function defineMetadata(key: any, value: any, target: any, propertyKey?: string | symbol): void;
}
}
/**
* 可注入装饰器
* @param options 注入选项
*/
export declare function Injectable(options?: InjectableMetadata): ClassDecorator;
//# sourceMappingURL=injectable.d.ts.map