Skip to content

Commit db62978

Browse files
committed
import fix
1 parent 6e8b099 commit db62978

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

  • x-pack/platform/plugins/shared/index_management/public/application/lib
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
/*
2+
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
3+
* or more contributor license agreements. Licensed under the Elastic License
4+
* 2.0; you may not use this file except in compliance with the Elastic License
5+
* 2.0.
6+
*/
7+
8+
import numeral from '@elastic/numeral';
9+
10+
export const formatBytes = (bytes?: number): string => numeral(bytes || 0).format('0.00 b');

0 commit comments

Comments
 (0)