UNPKG
@sudopub/essential
Version:
latest (1.1.0)
1.1.0
1.0.0
Essential Library for Pub
sudo.pub
SudoPub/Pub-Essential-TypeScript
@sudopub/essential
/
plan
/
create.d.ts
3 lines
(2 loc)
•
226 B
TypeScript
View Raw
1
2
3
import
{
PUB_PLAN_TYPE
,
PubPlan
,
PubPlanPayloadSwitch
}
from
"./definition/plan"
;
export
declare
const
createPubPlan
: <T
extends
PUB_PLAN_TYPE
>
(
type
: T,
taskIdentifier
:
string
,
payload
:
PubPlanPayloadSwitch
<T>
) =>
PubPlan
<T>;