Files
libhalo/core/src.ts/web/weblib.ts
2024-07-18 18:50:55 +02:00

16 lines
475 B
TypeScript

/**
* LibHaLo - Programmatically interact with HaLo tags from the web browser, mobile application or the desktop.
* Copyright by Arx Research, Inc., a Delaware corporation
* License: MIT
*/
import * as all_exports from "./web_apis.js";
if (typeof window !== "undefined") {
Object.keys(all_exports).forEach((key) => {
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-expect-error
window[key] = all_exports[key];
});
}