123456789101112 |
- "use strict";
- Object.defineProperty(exports, "__esModule", { value: true });
- function normaliseKey(key) {
- // Cast the key to a string, as that's all we can set as a key.
- if (typeof key !== 'string') {
- console.warn(key + " used as a key, but it is not a string.");
- key = String(key);
- }
- return key;
- }
- exports.normaliseKey = normaliseKey;
- //# sourceMappingURL=normaliseKey.js.map
|