UNPKG
brandeur-plugin-sort-property
Version:
latest (2.0.2)
2.0.2
2.0.1
2.0.0
1.0.2
1.0.1
1.0.0
Brandeur plugin that sorts properties according a priority map
brandeur-plugin-sort-property
/
index.d.ts
12 lines
(9 loc)
•
270 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
declare
module
'brandeur-plugin-sort-property'
{
import
{
Style
}
from
'brandeur'
type
PropertyPriority
= { [
Property
in
keyof
Style
]:
number
}
export
default
function
enforceLonghand
(
propertyPriority
?:
PropertyPriority
):
(
style
:
Style
) =>
Style
}