Skip to content

TypeScript with an Options API ​

Sprig has no Options API component model, so there is no Options API TypeScript integration. Author components as JavaScript functions or .sprig single-file components and use the public declarations for their runtime imports.

If an application needs a typed object-oriented or Options API abstraction, it must be provided by application code or another library; it is not part of Sprig's public API.