MCPcopy Create free account
hub / github.com/microsoft/tslib / __assign

Function __assign

tslib.es6.mjs:32–41  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

30}
31
32export var __assign = function() {
33 __assign = Object.assign || function __assign(t) {
34 for (var s, i = 1, n = arguments.length; i < n; i++) {
35 s = arguments[i];
36 for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
37 }
38 return t;
39 }
40 return __assign.apply(this, arguments);
41}
42
43export function __rest(s, e) {
44 var t = {};

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…