Types

TypeScript Support

All TypeScript interfaces can be found here on GitHub (opens in a new tab). These interfaces might help you understand the API and what properties you should use.

InterfaceConfiguration type

The InterfaceConfiguration type is very helpful for constructing interfaces. You can import a type InterfaceConfiguration to help write your configuration object.

import { type InterfaceConfiguration } from "@interweave/interweave"
 
const config: InterfaceConfiguration = { ... }