A virtual newsroom powered by RSS and AI.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

25 lines
479 B

// newsroom-app.ts
// Copyright (C) 2025 DTP Technologies, LLC
// All Rights Reserved
import { WebApp } from "./lib/app.js";
export interface WebAppGlobals {
app?: WebApp;
}
declare global {
interface Window {
dtp: WebAppGlobals;
}
}
(async () => {
try {
window.dtp = window.dtp || {};
window.dtp.app = new WebApp();
await window.dtp.app.start();
} catch (error) {
console.error("failed to start DTP Newsroom application", { error });
}
})();