AppState
export interface AppState { /** module-level mutable values used only by server code: one copy, shared by every client */ server: string[]; /** used only by browser code: each tab has its own copy */ browser: string[]; /** used by both: the server and every tab silently get separate copies */ both: string[]; }