style: ensure named functions

This commit is contained in:
2026-08-08 15:23:30 +02:00
parent aca681c79f
commit 40982aed96
5 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
limitations under the License.
*/
export const ensureUnit = function(d) {
export const ensureUnit = function ensureUnit(d) {
if (!d) d = 0;
// ensure that it is a string