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 |
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 |
Partial<TOptions>[K]