Add getDescription method to description dict

This commit is contained in:
Christopher Schleiden
2023-02-01 17:36:17 -08:00
parent 38c8ed1080
commit a1fea7e7fd
@@ -34,4 +34,8 @@ export class DescriptionDictionary extends Dictionary {
const pairs = super.pairs();
return pairs.map(p => ({...p, description: this.descriptions.get(p.key)}));
}
getDescription(key: string): string | undefined {
return this.descriptions.get(key);
}
}