Outsmartly provides type definitions in the
@outsmartly/corenpm package. These can be used inside your UI code, outsmartly.config.ts, or for custom plugins, middleware, etc.
To use TypeScript for your config, use the CLI's
outsmartly deploy production --config outsmartly.config.ts
Note that while Outsmartly's CLI supports TypeScript syntax inside your config, it does not do any actual type checking itself. You can use the
tscTypeScript CLI to do type checking separately, along with their
noEmitoption to do type checking only.