-
Jed Fox authored
<!-- Thank you for submitting a pull request! Make sure to follow the instructions to write release notes for your PR — it should only take a minute or two: https://github.com/actualbudget/docs#writing-good-release-notes -->
Jed Fox authored<!-- Thank you for submitting a pull request! Make sure to follow the instructions to write release notes for your PR — it should only take a minute or two: https://github.com/actualbudget/docs#writing-good-release-notes -->
main-app.ts 288 B
import * as connection from '../platform/server/connection';
import { Handlers } from '../types/handlers';
import { createApp } from './app';
// Main app
const app = createApp<Handlers>();
app.events.on('sync', info => {
connection.send('sync-event', info);
});
export default app;