UNPKG
smob
Version:
alpha (1.3.0-alpha.2)
latest (1.6.2)
1.6.2
1.6.1
1.6.0
1.5.0
1.4.1
1.4.0
1.3.0
1.3.0-alpha.2
1.3.0-alpha.1
1.2.0
1.1.1
1.1.0
1.0.0
0.1.0
0.0.7
0.0.6
0.0.5
0.0.3
0.0.2
0.0.1
Zero dependency library to safe merge objects.
github.com/Tada5hi/smob
Tada5hi/smob
smob
/
dist
/
utils
/
options.d.ts
5 lines
(4 loc)
•
257 B
TypeScript
View Raw
1
2
3
4
5
import
{
PriorityName
}
from
'../constants'
;
import
type
{
Options
,
OptionsInput
}
from
'../type'
;
export
declare
function
buildOptions
(
options
?:
OptionsInput
):
Options
;
export
declare
function
togglePriority
(
priority
:
`
${PriorityName}
`
):
"left"
|
"right"
;