derby
Version:
MVC framework making it easy to write realtime, collaborative applications that run in both Node.js and browsers.
14 lines (13 loc) • 551 B
TypeScript
import { Racer } from 'racer';
import { AppForClient, type App, type AppOptions } from './App';
import { Component } from './components';
import { PageForClient } from './Page';
export declare abstract class Derby extends Racer {
Component: typeof Component;
abstract createApp(name?: string, filename?: string, options?: AppOptions): App;
}
export declare class DerbyForClient extends Derby {
App: typeof AppForClient;
Page: typeof PageForClient;
createApp(name?: string, filename?: string, options?: AppOptions): AppForClient;
}