Type Alias DynamicCreatorWithParams<T, D, Options>

DynamicCreatorWithParams: (
    params: () => {
        [K in keyof D]: D[K] extends AnnotationWithCheck<infer U, infer O>
            ? GetValidTypeParamsWithOptions<U, O>
            : D[K]
    },
    context: Context,
) => T

Type Parameters

Type declaration

    • (
          params: () => {
              [K in keyof D]: D[K] extends AnnotationWithCheck<infer U, infer O>
                  ? GetValidTypeParamsWithOptions<U, O>
                  : D[K]
          },
          context: Context,
      ): T
    • Parameters

      • params: () => {
            [K in keyof D]: D[K] extends AnnotationWithCheck<infer U, infer O>
                ? GetValidTypeParamsWithOptions<U, O>
                : D[K]
        }
      • context: Context

      Returns T

MMNEPVFCICPMFPCPTTAAATR