UNPKG
com-tools
Version:
latest (2.33.1)
2.33.1
2.33.0
2.32.0
2.31.1
2.31.0
2.30.0
2.29.1
2.29.0
2.28.0
2.27.1
2.27.0
2.26.2
2.26.1
2.26.0
2.25.1
2.25.0
2.24.0
2.23.0
2.22.1
2.22.0
2.21.4
2.21.3
2.21.2
2.21.1
2.21.0
2.20.0
2.19.0
2.18.3
2.18.2
2.18.1
2.18.0
2.17.0
2.16.0
2.15.0
2.14.1
2.14.0
2.13.0
2.12.0
2.11.0
2.10.0
2.9.1
2.9.0
2.8.3
2.8.2
2.8.1
2.8.0
2.7.5
2.7.4
2.7.3
2.7.2
2.7.1
2.7.0
2.6.0
2.5.7
2.5.6
2.5.5
2.5.4
2.5.3
2.5.2
2.5.1
2.5.0
2.5.0-0
2.4.0
2.3.0
2.2.1
2.2.0
2.1.3
2.1.2
2.1.1
2.1.0
2.0.0
1.1.1
1.1.0
1.0.19
1.0.18
1.0.17
1.0.16
1.0.15
1.0.14
1.0.13
1.0.12
1.0.11
1.0.10
1.0.9
1.0.8
1.0.7
1.0.6
1.0.5
1.0.4
1.0.3
1.0.2
1.0.1
1.0.0
com-tools 提供了一些通用的工具函数;
github.com/GuoBinyong/com-tools
GuoBinyong/com-tools
com-tools
/
dist
/
object.d.ts
8 lines
•
289 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
/** * 按照指定的顺序对对象的成员进行排序 *
@param
orders 排序顺序 *
@param
obj 排序的对象 *
@returns
排序后的对象 */
export
declare
function
sortMembers<
Obj
extends
{}>(
orders
:
Iterable
<
PropertyKey
>,
obj
:
Obj
):
Obj
;
//# sourceMappingURL=object.d.ts.map