AIDC Toolkit / Core / TypedSyncFunction
Type Alias: TypedSyncFunction<TFunction>
TypedSyncFunction<
TFunction> = [ReturnType<TFunction>] extends [PromiseLike<unknown>] ?never:TypedFunction<TFunction>
Defined in: type.ts:15
Typed synchronous function, applicable to any function that doesn't return a Promise.
Type Parameters
TFunction
TFunction extends TypedFunction<TFunction>
Function type.