123456789 |
- export 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;
- }
- //# sourceMappingURL=normaliseKey.js.map
|