ResourceInterface.getSource() method
Get the value of a source key.
Signature:
getSource<K extends keyof TSources>(key: K): Partial<TSources>[K];
Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
key |
K |
Returns:
Partial<TSources>[K]
Get the value of a source key.
Signature:
getSource<K extends keyof TSources>(key: K): Partial<TSources>[K];
|
Parameter |
Type |
Description |
|---|---|---|
|
key |
K |
Returns:
Partial<TSources>[K]