@khanacademy/wonder-blocks-timing 2.1.2 → 2.1.3
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/CHANGELOG.md
CHANGED
|
@@ -19,7 +19,7 @@ import type {
|
|
|
19
19
|
* is to be used solely by the `ActionSchedulerProvider` to provide an
|
|
20
20
|
* `IScheduleActions` instance.
|
|
21
21
|
*/
|
|
22
|
-
declare export default class ActionScheduler
|
|
22
|
+
declare export default class ActionScheduler extends IScheduleActions {
|
|
23
23
|
_disabled: boolean;
|
|
24
24
|
_registeredActions: Array<() => void>;
|
|
25
25
|
static +NoopAction: { ...ITimeout, ...IAnimationFrame, ...IInterval };
|
|
@@ -15,7 +15,7 @@ import type { IAnimationFrame, SchedulePolicy, ClearPolicy } from "./types";
|
|
|
15
15
|
* @class AnimationFrame
|
|
16
16
|
* @implements
|
|
17
17
|
*/
|
|
18
|
-
declare export default class AnimationFrame
|
|
18
|
+
declare export default class AnimationFrame extends IAnimationFrame {
|
|
19
19
|
_animationFrameId: number | null | void;
|
|
20
20
|
_action: (arg1: DOMHighResTimeStamp) => mixed;
|
|
21
21
|
|
|
@@ -15,7 +15,7 @@ import type { IInterval, SchedulePolicy, ClearPolicy } from "./types";
|
|
|
15
15
|
* @class Interval
|
|
16
16
|
* @implements
|
|
17
17
|
*/
|
|
18
|
-
declare export default class Interval
|
|
18
|
+
declare export default class Interval extends IInterval {
|
|
19
19
|
_intervalId: number | null | void;
|
|
20
20
|
_action: () => mixed;
|
|
21
21
|
_intervalMs: number;
|
|
@@ -15,7 +15,7 @@ import type { ITimeout, SchedulePolicy, ClearPolicy } from "./types";
|
|
|
15
15
|
* @class Timeout
|
|
16
16
|
* @implements
|
|
17
17
|
*/
|
|
18
|
-
declare export default class Timeout
|
|
18
|
+
declare export default class Timeout extends ITimeout {
|
|
19
19
|
_timeoutId: number | null | void;
|
|
20
20
|
_action: () => mixed;
|
|
21
21
|
_timeoutMs: number;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@khanacademy/wonder-blocks-timing",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "2.1.
|
|
4
|
+
"version": "2.1.3",
|
|
5
5
|
"design": "v1",
|
|
6
6
|
"publishConfig": {
|
|
7
7
|
"access": "public"
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
"react": "16.14.0"
|
|
18
18
|
},
|
|
19
19
|
"devDependencies": {
|
|
20
|
-
"wb-dev-build-settings": "^0.7.
|
|
20
|
+
"wb-dev-build-settings": "^0.7.4"
|
|
21
21
|
},
|
|
22
22
|
"author": "",
|
|
23
23
|
"license": "MIT"
|