simple-icons/scripts/build/templates/index.js
Eric Cornelissen 4c7b870af6
Remove .get from package's default export (#6820)
* Remove `.get` from package's default export

* Update TypeScript definitions

* Updated index.js test suite
2021-11-22 20:56:10 +01:00

11 lines
173 B
JavaScript

var icons = {%s};
Object.defineProperty(icons, "Get", {
enumerable: false,
value: function(targetName) {
return icons[targetName];
}
});
module.exports = icons;