ResourceInterface.setOption() method
Set an option by key.
Signature:
setOption<K extends keyof TOptions>(key: K, value: TOptions[K]): ResourceInterface<TOptions, TSources>;
Parameters
Parameter |
Type |
Description |
---|---|---|
key |
K | |
value |
TOptions[K] |
ResourceInterface<TOptions, TSources>