@khanacademy/wonder-blocks-timing
Advanced tools
Comparing version 4.0.0 to 4.0.1
# @khanacademy/wonder-blocks-timing | ||
## 4.0.1 | ||
### Patch Changes | ||
- df9a10aa: Update state and props to be readonly in components using getDerivedStateFromProps() | ||
## 4.0.0 | ||
@@ -4,0 +10,0 @@ |
@@ -216,3 +216,3 @@ export type SchedulePolicy = "schedule-immediately" | "schedule-on-demand"; | ||
*/ | ||
export type WithActionSchedulerProps = { | ||
export type WithActionSchedulerProps = Readonly<{ | ||
/** | ||
@@ -223,3 +223,3 @@ * An instance of the `IScheduleActions` API to use for scheduling | ||
schedule: IScheduleActions; | ||
}; | ||
}>; | ||
export type WithoutActionScheduler<TProps extends object> = Omit<TProps, "schedule">; | ||
@@ -226,0 +226,0 @@ /** |
{ | ||
"name": "@khanacademy/wonder-blocks-timing", | ||
"private": false, | ||
"version": "4.0.0", | ||
"version": "4.0.1", | ||
"design": "v1", | ||
@@ -6,0 +6,0 @@ "publishConfig": { |
@@ -230,3 +230,3 @@ export type SchedulePolicy = "schedule-immediately" | "schedule-on-demand"; | ||
*/ | ||
export type WithActionSchedulerProps = { | ||
export type WithActionSchedulerProps = Readonly<{ | ||
/** | ||
@@ -237,3 +237,3 @@ * An instance of the `IScheduleActions` API to use for scheduling | ||
schedule: IScheduleActions; | ||
}; | ||
}>; | ||
@@ -240,0 +240,0 @@ export type WithoutActionScheduler<TProps extends object> = Omit< |
Sorry, the diff of this file is not supported yet
213632