UNPKG
@pigeon-posse/pkg-extended-scripts
Version:
latest (1.1.2)
1.1.2
1.1.1
1.1.0
1.0.1
0.3.0
0.2.0
0.1.0
Separate scripts from package.json
pkg-extended-scripts.pigeonposse.com
@pigeon-posse/pkg-extended-scripts
/
dist
/
index.d.mts
9 lines
(7 loc)
•
265 B
text/typescript
View Raw
1
2
3
4
5
6
7
8
9
type
Config
= { [
key
:
string
]:
() =>
void
|
Promise
<
void
>; };
declare
const
defineConfig
: <C
extends
Config
>
(
config
: C
) =>
C;
declare
const
getConfig
:
(
input
?:
string
) =>
Promise
<
Config
|
undefined
>;
export
{ defineConfig, getConfig };
export
type
{
Config
};