mirror of
https://github.com/heygen-com/hyperframes.git
synced 2026-09-11 06:30:03 +00:00
fix(sdk-playground): implement PreviewAdapter.attachSync no-op stub
PlaygroundPreview implements PreviewAdapter but was missing attachSync, which this branch added to the interface — a real TS break (no typecheck script wires sdk-playground into CI, so nothing caught it). Mirrors the same no-op stub already added to HeadlessPreviewAdapter.
This commit is contained in:
@@ -85,6 +85,10 @@ class PlaygroundPreview implements PreviewAdapter {
|
||||
this.handlers = this.handlers.filter((h) => h !== handler);
|
||||
};
|
||||
}
|
||||
|
||||
attachSync(_comp: Composition): () => void {
|
||||
return () => {};
|
||||
}
|
||||
}
|
||||
|
||||
// ── Preview iframe ────────────────────────────────────────────────────────────
|
||||
|
||||
Reference in New Issue
Block a user