Skip to main content

Typescript

If you use Typescript, then you're probably desperate to get our types. Luckily, you came to the right place. If you install Command AI via our npm package, then you can access our types.

How do I access the types for a specific object?

You can grab these from "commandbar/build/internal/src/middleware/types".

E.g.,

import { ICommandFromClientType } from "commandbar/build/internal/src/middleware/types";