From 1acce98fbf86063de1364ec6a150c97afd81e977 Mon Sep 17 00:00:00 2001 From: Ulad Kasach Date: Sat, 27 Jul 2024 15:39:31 -0400 Subject: [PATCH] fix(dobjs): update procedure shape usability --- src/domain/Procedure.ts | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/src/domain/Procedure.ts b/src/domain/Procedure.ts index b68a598..0ab312c 100644 --- a/src/domain/Procedure.ts +++ b/src/domain/Procedure.ts @@ -8,17 +8,16 @@ * note * - javascript's "functions" are actually, by definition, procedures */ -export type Procedure = ( +export type Procedure = ( /** * the input of the procedure */ - input: any, - + input: TInput, /** * the context within which the procedure runs */ - context?: any, -) => any; + context?: TContext, +) => TOutput; /** * extracts the input::Type of a procedure