Home > @lynx-js/rspeedy > defineConfig
The defineConfig
method is a helper function used to get TypeScript intellisense.
Signature:
Parameter | Type | Description |
---|---|---|
config | (params: ConfigParams) => Config | The function that returns a config of Rspeedy. |
Returns:
(params: ConfigParams) => Config
Use defineConfig
in lynx.config.ts
:
Use defineConfig
with parameters in lynx.config.ts
: