Interface PreferenceRetrieval<T>
Methods
get
- get<K>(preferenceName: K | { overrideIdentifier?: string; preferenceName: K }, defaultValue?: T[K], resourceUri?: string): T[K]
Type Parameters
K extends string | number | symbol
Parameters
preferenceName: K | { overrideIdentifier?: string; preferenceName: K }
Optional defaultValue: T[K]
Optional resourceUri: string
Returns T[K]
Generic interface to declare a typesafe get function based on the given configuration type.
Illustration