UNPKG
create-lbgcli
Version:
latest (1.0.2)
1.0.2
前端脚手架模板
create-lbgcli
/
template-pc
/
node_modules
/
fast-glob
/
out
/
utils
/
array.d.ts
3 lines
(2 loc)
•
145 B
TypeScript
View Raw
1
2
3
export declare
function
flatten
<
T
>
(
items
:
T
[
]
[
]
)
:
T
[
]
; export declare
function
splitWhen
<
T
>
(
items
:
T
[
]
,
predicate
:
(
item
:
T
)
=
>
boolean
)
:
T
[
]
[
]
;