UNPKG

@etsoo/appscript

Version:

Applications shared TypeScript framework

20 lines (19 loc) 565 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.BridgeUtils = void 0; const FlutterHost_1 = require("./FlutterHost"); /** * Bridge utils */ var BridgeUtils; (function (BridgeUtils) { const g = globalThis; /** * Bridge host */ BridgeUtils.host = typeof g.flutter_inappwebview === "object" ? new FlutterHost_1.FlutterHost(g.flutter_inappwebview) : typeof g.electron === "object" ? g.electron : undefined; })(BridgeUtils || (exports.BridgeUtils = BridgeUtils = {}));