UNPKG
@ka1do/kit
Version:
latest (0.0.3)
0.0.3
Kaido Kit
github.com/kaido-team/kaido-kit
kaido-team/kaido-kit
@ka1do/kit
/
helpers
/
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
>;