UNPKG
create-lbgcli
Version:
latest (1.0.2)
1.0.2
前端脚手架模板
create-lbgcli
/
template-pc
/
node_modules
/
escalade
/
index.d.ts
4 lines
(3 loc)
•
224 B
TypeScript
View Raw
1
2
3
4
type
Promisable
<T> = T |
Promise
<T>;
export
type
Callback
=
(
directory
:
string
,
files
:
string
[]
) =>
Promisable
<
string
|
false
|
void
>;
export
default
function
(
directory
:
string
,
callback
:
Callback
):
Promise
<
string
|
void
>;