/** * This file is the entrypoint of browser builds. * The code executes when loaded in a browser. */ import { UnivISClient } from './univis/client' // eslint-disable-next-line @typescript-eslint/no-explicit-any ;(window as any).UnivISClient = UnivISClient // instead of casting window to any, you can extend the Window interface: https://stackoverflow.com/a/43513740/5433572 console.log( 'Class "UnivISClient" was added to the window object. You can try it yourself by just entering "await foo()"' )