MCPcopy Create free account
hub / github.com/codeaashu/claude-code / __copyProps

Function __copyProps

src/server/web/public/terminal.js:10–17  ·  view source on GitHub ↗
(to, from, except, desc)

Source from the content-addressed store, hash-verified

8 return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
9};
10var __copyProps = (to, from, except, desc) => {
11 if (from && typeof from === "object" || typeof from === "function") {
12 for (let key of __getOwnPropNames(from))
13 if (!__hasOwnProp.call(to, key) && key !== except)
14 __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15 }
16 return to;
17};
18var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
19 // If the importer is in node compatibility mode or this is not an ESM
20 // file that has been converted to a CommonJS file using a Babel-

Callers 1

__toESMFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected