()
| 3288 | |
| 3289 | function snapshotManagedWindowPointOption( |
| 3290 | point: ManagedWindowPoint, |
| 3291 | ): RuntimeManagedWindowPoint { |
| 3292 | return { |
| 3293 | x: read(point.x), |
| 3294 | y: read(point.y), |
| 3295 | }; |
| 3296 | } |
| 3297 | |
| 3298 | function serializeManagedWindowEasing( |
| 3299 | easing: ManagedWindowAnimationEasing | undefined, |
| 3300 | ): RuntimeManagedWindowAnimationEasing { |
| 3301 | if (!easing || easing === "linear") { |
| 3302 | return { kind: "linear" }; |
| 3303 | } |
| 3304 | if (typeof easing === "function") { |
no test coverage detected