werkbank
    Preparing search index...

    Type Alias ClientConfig<Config>

    ClientConfig: {
        [M in keyof Config]: Config[M] extends (...args: any[]) => any
            ? "function"
            : { exports: ClientConfig<Config[M]>; type: "module" }
    }

    Represents the client-side view of the worker's module structure.

    Type Parameters

    • Config

      The module configuration type.

    Functions are replaced with the string "function", and nested modules are represented by a recursive structure with a "module" type and "exports".