@shimotsuki/core 2.0.25 → 2.0.27
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 +2 -2
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1031,8 +1031,8 @@ 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<T extends object>(target:
|
|
1035
|
-
use<
|
|
1034
|
+
use<T extends object>(target: T, source: any): this;
|
|
1035
|
+
use<K extends keyof this>(target: K, source: any): this;
|
|
1036
1036
|
}
|
|
1037
1037
|
declare const cat: Manager;
|
|
1038
1038
|
|