@@ -44,18 +44,18 @@ import { type TInstantiate } from '../engine/instantiate.ts'
4444// performs a deferred Static Instantiate for inference only.
4545//
4646// ------------------------------------------------------------------
47- export type StaticInstantiatedParameters < Direction extends StaticDirection , Context extends TProperties , This extends TProperties , Parameters extends TSchema [ ] ,
47+ export type StaticInstantiatedParameters < Stack extends string [ ] , Direction extends StaticDirection , Context extends TProperties , This extends TProperties , Parameters extends TSchema [ ] ,
4848 Evaluated extends TSchema = TInstantiate < Context , TTuple < Parameters > > ,
49- Static extends unknown = StaticType < Direction , Context , This , Evaluated > ,
49+ Static extends unknown = StaticType < Stack , Direction , Context , This , Evaluated > ,
5050 Result extends unknown [ ] = Static extends unknown [ ] ? Static : [ ]
5151> = Result
5252
5353// ------------------------------------------------------------------
5454// Static
5555// ------------------------------------------------------------------
56- export type StaticFunction < Direction extends StaticDirection , Context extends TProperties , This extends TProperties , Parameters extends TSchema [ ] , ReturnType extends TSchema ,
57- StaticParameters extends unknown [ ] = StaticInstantiatedParameters < Direction , Context , This , Parameters > ,
58- StaticReturnType extends unknown = StaticType < Direction , Context , This , ReturnType > ,
56+ export type StaticFunction < Stack extends string [ ] , Direction extends StaticDirection , Context extends TProperties , This extends TProperties , Parameters extends TSchema [ ] , ReturnType extends TSchema ,
57+ StaticParameters extends unknown [ ] = StaticInstantiatedParameters < Stack , Direction , Context , This , Parameters > ,
58+ StaticReturnType extends unknown = StaticType < Stack , Direction , Context , This , ReturnType > ,
5959 Result = ( ...args : StaticParameters ) => StaticReturnType
6060> = Result
6161// ------------------------------------------------------------------
0 commit comments