Reference
TypeScript
Strife provides full TypeScript definitions for its core data structures, components, and APIs. These types are available via the @strifeapp/types package and can be used to improve type safety, editor autocompletion, and developer experience when working with Strife programmatically.
npm install @strifeapp/typesUsage
You can import the types you need directly from the package:
import {
type Content
} from '@strifeapp/types';