Function: defineConfig()
Call Signature
The defineConfig method is a helper function used to get TypeScript intellisense.
Parameters
Returns
The identical config as the input config.
Example
Use defineConfig in lynx.config.ts:
Call Signature
defineConfig(
config: (params:ConfigParams) =>Config): (params:ConfigParams) =>Config
The defineConfig method is a helper function used to get TypeScript intellisense.
Parameters
Returns
The identical function as the input.
(params: ConfigParams) => Config
Examples
Use defineConfig in lynx.config.ts:
Use defineConfig with parameters in lynx.config.ts:
Call Signature
The defineConfig method is a helper function used to get TypeScript intellisense.
Parameters
Returns
Promise<Config>
The identical promise as the input.
Example
Use defineConfig in lynx.config.ts:
Call Signature
defineConfig(
config: (params:ConfigParams) =>Promise<Config>): (params:ConfigParams) =>Promise<Config>
The defineConfig method is a helper function used to get TypeScript intellisense.
Parameters
Returns
The identical function as the input.
(params: ConfigParams) => Promise<Config>
Examples
Use defineConfig in lynx.config.ts:
Use defineConfig with parameters in lynx.config.ts: