@hestjs/core
Version:
HestJS Core Framework - A TypeScript framework built on Hono with dependency injection and decorators
14 lines • 508 B
TypeScript
import 'reflect-metadata';
import type { ModuleMetadata } from '../interfaces/metadata';
declare global {
namespace Reflect {
function defineMetadata(key: any, value: any, target: any, propertyKey?: string | symbol): void;
function hasMetadata(key: any, target: any, propertyKey?: string | symbol): boolean;
}
}
/**
* 模块装饰器
* @param metadata 模块元数据
*/
export declare function Module(metadata: ModuleMetadata): ClassDecorator;
//# sourceMappingURL=module.d.ts.map