@shimotsuki/core 2.0.25 → 2.0.26
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 +1 -2
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1031,8 +1031,7 @@ declare class Manager {
|
|
|
1031
1031
|
* 1. 通过对象引用定位属性 (e.g. use(manager.audio, { vol: 0.5 }))
|
|
1032
1032
|
* 2. 直接通过属性名合并 (e.g. use('audio', { vol: 0.5 }))
|
|
1033
1033
|
*/
|
|
1034
|
-
use
|
|
1035
|
-
use<T extends object>(key: keyof this, source: Partial<T>): this;
|
|
1034
|
+
use(targetOrKey: object | string, source: any): this;
|
|
1036
1035
|
}
|
|
1037
1036
|
declare const cat: Manager;
|
|
1038
1037
|
|