Update comment
This commit is contained in:
@@ -7,8 +7,8 @@ export type ContextProviderConfig = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* DynamicDictionary is a dictionary that returns an empty DynamicDictionary for
|
* DynamicDictionary is a dictionary that returns an empty DynamicDictionary (or other given type)
|
||||||
* any key that is not present.
|
* for any key that is not present.
|
||||||
*/
|
*/
|
||||||
export class DynamicDictionary<T extends ExpressionData = Dictionary> extends data.Dictionary {
|
export class DynamicDictionary<T extends ExpressionData = Dictionary> extends data.Dictionary {
|
||||||
constructor(pairs: Pair[], private creator: () => T = () => new data.Dictionary() as T) {
|
constructor(pairs: Pair[], private creator: () => T = () => new data.Dictionary() as T) {
|
||||||
|
|||||||
Reference in New Issue
Block a user