MCPcopy Create free account
hub / github.com/Keyang/node-csvtojson / extendStatics

Function extendStatics

v2/Converter.js:3–8  ·  view source on GitHub ↗
(d, b)

Source from the content-addressed store, hash-verified

1"use strict";
2var __extends = (this && this.__extends) || (function () {
3 var extendStatics = function (d, b) {
4 extendStatics = Object.setPrototypeOf ||
5 ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
6 function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
7 return extendStatics(d, b);
8 };
9 return function (d, b) {
10 if (typeof b !== "function" && b !== null)
11 throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");

Callers 1

Converter.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected