ResourceInterface.getDefault() method
Get the default value for an option key.
Signature:
getDefault<K extends keyof TOptions>(key: K): TOptions[K];
Parameters
Parameter |
Type |
Description |
---|---|---|
key |
K |
TOptions[K]
Get the default value for an option key.
Signature:
getDefault<K extends keyof TOptions>(key: K): TOptions[K];
Parameter |
Type |
Description |
---|---|---|
key |
K |
TOptions[K]