Update comment

This commit is contained in:
Christopher Schleiden
2022-11-15 16:26:20 -08:00
parent 4f57450d8c
commit b433ce535b
@@ -7,8 +7,8 @@ export type ContextProviderConfig = {
};
/**
* DynamicDictionary is a dictionary that returns an empty DynamicDictionary for
* any key that is not present.
* DynamicDictionary is a dictionary that returns an empty DynamicDictionary (or other given type)
* for any key that is not present.
*/
export class DynamicDictionary<T extends ExpressionData = Dictionary> extends data.Dictionary {
constructor(pairs: Pair[], private creator: () => T = () => new data.Dictionary() as T) {