FactoryParams
interface FactoryParams<API extends PlatformApi = any> {
api?: Partial<API>;
provide?: (context: Context) => any;
}Properties
| Name | Required | Type | Description |
|---|---|---|---|
api | Optional | Partial<API> | |
provide | Optional | (context: Context) => any |
interface FactoryParams<API extends PlatformApi = any> {
api?: Partial<API>;
provide?: (context: Context) => any;
}| Name | Required | Type | Description |
|---|---|---|---|
api | Optional | Partial<API> | |
provide | Optional | (context: Context) => any |