ResourceInterface.getOption() method
Get the current value of an option key.
Signature:
getOption<K extends keyof TOptions>(key: K): Partial<TOptions>[K];
Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
key |
K |
Returns:
Partial<TOptions>[K]
Get the current value of an option key.
Signature:
getOption<K extends keyof TOptions>(key: K): Partial<TOptions>[K];
|
Parameter |
Type |
Description |
|---|---|---|
|
key |
K |
Returns:
Partial<TOptions>[K]