UNPKG
di-shan-utils
Version:
latest (1.0.5)
1.0.5
1.0.4
1.0.3
1.0.2
1.0.1
1.0.0
JavaScript 函数库、工具类
di-shan-utils
/
dist
/
toArray.d.ts
15 lines
(12 loc)
•
298 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/** * 将对象或者伪数组转为新数组 *
@param
list 对象/数组 */
export
declare
function
toArray<T>(
list
: T[]): T[];
export
declare
function
toArray
(
list
:
any
):
any
[];
declare
module
'./ctor'
{
interface
DIUtilsMethods
{
toArray
:
typeof
toArray; } }
export
default
toArray