fix liveview

This commit is contained in:
Jonathan Kelley committed 2024-03-06 17:26:52 -08:00
1 parent 1f6195b2ec
commit 60616d0ba7
5 files changed
+22 -9

No files matched your search

+4 -1
View File
@@ -12,7 +12,10 @@ import { SerializedEvent, serializeEvent } from "./serialize";
var JSChannel_: typeof BaseInterpreter;
// @ts-ignore - this is coming from the host
if (RawInterpreter) { JSChannel_ = RawInterpreter; }
if (RawInterpreter !== undefined && RawInterpreter !== null) {
// @ts-ignore - this is coming from the host
JSChannel_ = RawInterpreter;
};
export class NativeInterpreter extends JSChannel_ {
intercept_link_redirects: boolean;