UNPKG

rvx

Version:

A signal based rendering library

13 lines (10 loc) 325 B
import { Context } from "./context.js"; interface EnvContext extends Context<unknown> { get current(): typeof globalThis; } /** * A context that is used to access all DOM related APIs. * * This can be used to run rvx applications in non browser environments. */ export const ENV: EnvContext = new Context(globalThis);