Home / Function/ clone() — typescript-sdk Function Reference

clone() — typescript-sdk Function Reference

Architecture documentation for the clone() function in runtime.ts from the typescript-sdk codebase.

Entity Profile

Relationship Graph

Source Code

src/runtime.ts lines 244–249

    private clone<T extends BaseAPI>(this: T): T {
        const constructor = this.constructor as any;
        const next = new constructor(this.configuration);
        next.middleware = this.middleware.slice();
        return next;
    }

Domain

Subdomains

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free