Shorter module paths for default exports

This commit is contained in:
ahocevar
2018-04-25 17:23:56 +02:00
parent 6cb115d6a4
commit 440d1ad3e1
233 changed files with 2136 additions and 2042 deletions
+3 -1
View File
@@ -185,7 +185,9 @@ function fromStringInternal_(s) {
} else {
assert(false, 14); // Invalid color
}
return /** @type {module:ol/color~Color} */ (color);
return (
/** @type {module:ol/color~Color} */ (color)
);
}