first commit

This commit is contained in:
编码猿
2024-09-27 01:24:57 +08:00
commit b6fac0aad8
16 changed files with 252 additions and 0 deletions

1
types/.pydio Normal file
View File

@@ -0,0 +1 @@
72be7c1c-833c-4abc-95de-91a6d1b19824

11
types/Ioc.d.ts vendored Normal file
View File

@@ -0,0 +1,11 @@
import "reflect-metadata";
/**
* 收集类依赖
* @constructor
*/
export declare function Injectable(): (_constructor: new (...args: any[]) => {}) => void;
/**
* 将类依赖实例化然后注入到被装饰的属性中
* @constructor
*/
export declare function Inject(): (target: any, propertyName: string) => void;