createProxy<Defined in: packages/http-framework/src/lib/decorators/utils.ts:43 Creates a new proxy to efficiently add properties to a class without creating subclasses.T>(target,handler):T
Type Parameters
T
T extends object
Parameters
target
T
The constructor of the class to modify.
handler
Omit<ProxyHandler<T>, "get">
The handler function to modify the constructor behavior for the target.
Returns
T
The proxy.