UNPKG

aurelia-fontawesome

Version:

Aurelia wrapper around the font awesome 5 library

10 lines (9 loc) 312 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); function objectWithKey(key, value) { var _a; return (Array.isArray(value) && value.length > 0) || (!Array.isArray(value) && value) ? (_a = {}, _a[key] = value, _a) : {}; } exports.objectWithKey = objectWithKey;