UNPKG
@gulujs/toml
Version:
latest (0.4.1)
0.4.1
0.3.1
0.3.0
TOML parser and serializer
github.com/gulujs/toml
gulujs/toml
@gulujs/toml
/
dist
/
serializer
/
utils.d.ts
5 lines
(4 loc)
•
244 B
TypeScript
View Raw
1
2
3
4
5
import
{
KeyPath
}
from
'@gulujs/object-path'
;
import
{
Key
}
from
'./schema.js'
;
export
declare
function
stringifyKey
(
key
:
Key
,
keyPath
:
KeyPath
):
string
;
export
declare
function
flattenPath
(
path
:
Array
<
Key
|
number
>
):
Array
<
string
|
number
>;