# Type Alias: BaseFormula\<ParamDefsT, ResultT, ContextT>

> **BaseFormula**\<`ParamDefsT`, `ResultT`, `ContextT`> = [`PackFormulaDef`](../../interfaces/PackFormulaDef/)\<`ParamDefsT`, `ResultT`, `ContextT`> & `object`

Defined in: [api.ts:1042](https://github.com/coda/packs-sdk/blob/44f7744bb692307d51cf2020a7058f343a7e25e8/api.ts#L1042)

The base class for pack formula descriptors. Subclasses vary based on the return type of the formula.

## Type Declaration

| Name | Type | Defined in | | --- | --- | --- | | `resultType` | `TypeOf`\<`ResultT`> | [api.ts:1047](https://github.com/coda/packs-sdk/blob/44f7744bb692307d51cf2020a7058f343a7e25e8/api.ts#L1047) |

## Type Parameters

| Type Parameter | Default type | | --- | --- | | `ParamDefsT` *extends* [`ParamDefs`](../ParamDefs/) | - | | `ResultT` *extends* [`PackFormulaResult`](../PackFormulaResult/) | - | | `ContextT` *extends* [`ExecutionContext`](../../interfaces/ExecutionContext/) | [`ExecutionContext`](../../interfaces/ExecutionContext/) |
