We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Map
declaration.ts
1 parent 5148714 commit ccfc613Copy full SHA for ccfc613
src/lib/utils/options/declaration.ts
@@ -98,7 +98,7 @@ export class OptionDeclaration {
98
const values = Object.keys(map).map(key => map[key]);
99
100
if (map instanceof Map) {
101
- value = map.has(key) ? map.get(key) : key;
+ value = map.has(key) ? map.get(key) : value;
102
} else if (key in map) {
103
value = map[key];
104
} else if (values.indexOf(value) === -1 && errorCallback) {
0 commit comments