mirror of
https://github.com/heygen-com/hyperframes.git
synced 2026-09-07 18:26:17 +00:00
fix(core): enforce strict runtime safety
This commit is contained in:
@@ -37,7 +37,7 @@ export function createCssAdapter(params?: {
|
||||
animation: Animation,
|
||||
startSeconds: number,
|
||||
): { endSeconds?: number; unbounded?: true } => {
|
||||
let timing: { endTime?: number | string } | null = null;
|
||||
let timing: ComputedEffectTiming | null = null;
|
||||
try {
|
||||
timing = animation.effect?.getComputedTiming?.() ?? null;
|
||||
} catch (err) {
|
||||
|
||||
Reference in New Issue
Block a user