@shimotsuki/core 2.0.30 → 2.0.31
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +3 -13
- package/dist/index.js +2901 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1025,19 +1025,9 @@ declare class Manager {
|
|
|
1025
1025
|
}) => this;
|
|
1026
1026
|
/**启动 */
|
|
1027
1027
|
boot(): Promise<void>;
|
|
1028
|
-
|
|
1029
|
-
|
|
1030
|
-
|
|
1031
|
-
* 1. 合并对象属性:use(existingObject, config)
|
|
1032
|
-
* 2. 修改/创建属性:use(propertyName, value)
|
|
1033
|
-
*/
|
|
1034
|
-
use<T extends object>(target: T, source: Partial<T>): this;
|
|
1035
|
-
use<K extends keyof this>(key: K, value: this[K]): this;
|
|
1036
|
-
use<K extends string>(key: K, value: any): this;
|
|
1037
|
-
/** 处理对象合并 */
|
|
1038
|
-
private handleObjectMerge;
|
|
1039
|
-
/** 处理属性设置 */
|
|
1040
|
-
private handlePropertySet;
|
|
1028
|
+
/**合并对象 */
|
|
1029
|
+
use(target: string, source: string): this;
|
|
1030
|
+
use<T extends object>(target: T, source: T): this;
|
|
1041
1031
|
}
|
|
1042
1032
|
declare const cat: Manager;
|
|
1043
1033
|
|