This commit is contained in:
Yanis Benson 2019-03-27 09:46:22 +03:00
parent 5f0835a0aa
commit f58b05c399

View file

@ -183,6 +183,7 @@ const createStyler = (open, close, parent) => {
const createBuilder = (self, _styler, _isEmpty) => {
const builder = (...arguments_) => {
// Single argument is hot path, implicit coercion is faster than anything
// eslint-disable-next-line no-implicit-coercion
return applyStyle(builder, (arguments_.length === 1) ? ('' + arguments_[0]) : arguments_.join(' '));
};