@shimotsuki/core 1.0.16 → 1.0.18
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
|
@@ -116,9 +116,9 @@ declare class AudioManager extends BaseManager {
|
|
|
116
116
|
/**reaction销毁 */
|
|
117
117
|
private reactionDisposers;
|
|
118
118
|
/**添加自动收集 */
|
|
119
|
-
|
|
119
|
+
addAutorun(cb: (() => void) | (() => void)[]): this;
|
|
120
120
|
/**添加自动收集 */
|
|
121
|
-
|
|
121
|
+
addReaction<T, FireImmediately extends boolean = false>(expression: (r: IReactionPublic) => T, effect: (arg: T, prev: FireImmediately extends true ? T | undefined : T, r: IReactionPublic) => void, opts?: IReactionOptions<T, FireImmediately>): this;
|
|
122
122
|
removeAutorun(): void;
|
|
123
123
|
removeReaction(): void;
|
|
124
124
|
}
|