pareto-core 0.1.287 → 0.1.288
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,4 +1,2 @@
|
|
|
1
1
|
import * as p_di from "../../../interface/data.js";
|
|
2
|
-
export default function <T extends p_di.Value>(dictionary: p_di.Dictionary<T>, suffix: string):
|
|
3
|
-
[key: string]: T;
|
|
4
|
-
};
|
|
2
|
+
export default function <T extends p_di.Value>(dictionary: p_di.Dictionary<T>, suffix: string): p_di.Dictionary<T>;
|
|
@@ -1,9 +1,6 @@
|
|
|
1
1
|
import * as p_di from "../../../interface/data.js";
|
|
2
|
+
import { Dictionary_Class } from "../../__internal/sync/primitives/Dictionary.js";
|
|
2
3
|
export default function (dictionary, suffix) {
|
|
3
|
-
|
|
4
|
-
dictionary.__get_raw().forEach(($) => {
|
|
5
|
-
out[$[0] + suffix] = $[1];
|
|
6
|
-
});
|
|
7
|
-
return out;
|
|
4
|
+
return new Dictionary_Class(dictionary.__get_raw().map(($) => [$[0] + suffix, $[1]]));
|
|
8
5
|
}
|
|
9
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
6
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWRkX2lkX3N1ZmZpeC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9pbXBsZW1lbnRhdGlvbi90cmFuc2Zvcm1lci9zcGVjaWFscy9hZGRfaWRfc3VmZml4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sS0FBSyxJQUFJLE1BQU0sNEJBQTRCLENBQUE7QUFFbEQsT0FBTyxFQUFFLGdCQUFnQixFQUFFLE1BQU0sZ0RBQWdELENBQUE7QUFFakYsTUFBTSxDQUFDLE9BQU8sV0FDVixVQUE4QixFQUM5QixNQUFjO0lBRWYsT0FBTyxJQUFJLGdCQUFnQixDQUMxQixVQUFVLENBQUMsU0FBUyxFQUFFLENBQUMsR0FBRyxDQUFDLENBQUMsQ0FBQyxFQUFFLEVBQUUsQ0FBQyxDQUFDLENBQUMsQ0FBQyxDQUFDLENBQUMsR0FBRyxNQUFNLEVBQUUsQ0FBQyxDQUFDLENBQUMsQ0FBQyxDQUFDLENBQUMsQ0FDeEQsQ0FBQTtBQUNKLENBQUMifQ==
|