UNPKG
li18nt
Version:
latest (5.0.0)
5.0.0
4.0.1
4.0.0
3.0.0
2.1.0
2.0.0
1.1.1
1.1.0
1.0.1
1.0.0
Locales linter, formatter, sorter and prettifier
github.com/Simonwep/li18nt
Simonwep/li18nt
li18nt
/
lib
/
src
/
cli
/
utils
/
prettyPropertyPath.d.ts
9 lines
(8 loc)
•
248 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
9
import
{
PropertyPath
}
from
'@types'
;
import
{
ChalkInstance
}
from
'chalk'
;
/** * Prettifies a property path *
@param
path
*
@param
last
*/
export
declare
const
prettyPropertyPath
:
(
path
:
PropertyPath
,
last
?:
ChalkInstance
|
null
) =>
string
;