Made "checkpoint" on scaffolder action context non-optional (#23291)
* Made "checkpoint" on scaffolder action context non-optional Signed-off-by: bnechyporenko <bnechyporenko@bol.com>
This commit is contained in:
committed by
GitHub
parent
b130eb36b4
commit
bbd1fe19ab
@@ -30,7 +30,7 @@ export type ActionContext<
|
||||
secrets?: TaskSecrets;
|
||||
workspacePath: string;
|
||||
input: TActionInput;
|
||||
checkpoint?<U extends JsonValue>(
|
||||
checkpoint<U extends JsonValue>(
|
||||
key: string,
|
||||
fn: () => Promise<U>,
|
||||
): Promise<U>;
|
||||
|
||||
@@ -35,7 +35,7 @@ export type ActionContext<
|
||||
secrets?: TaskSecrets;
|
||||
workspacePath: string;
|
||||
input: TActionInput;
|
||||
checkpoint?<U extends JsonValue>(
|
||||
checkpoint<U extends JsonValue>(
|
||||
key: string,
|
||||
fn: () => Promise<U>,
|
||||
): Promise<U>;
|
||||
|
||||
Reference in New Issue
Block a user