@curi/types

v2.0.0

GitHub logoGitHub RepoNPM logoNPM Package

About

This package is for TypeScript users. It provides the common Curi types used by the various packages.

import { createRouter } from "@curi/router";

import { CuriRouter } from "@curi/types";

const router: CuriRouter = createRouter(browser, routes);

Installation

npm install @curi/types