Sha256: 815480888e11a6150400d11e0d48147f188839010779550d7d611ce924bafb1d

Contents?: true

Size: 1.03 KB

Versions: 17

Compression:

Stored size: 1.03 KB

Contents

{"version":3,"names":["_assertThisInitialized","require","_possibleConstructorReturn","self","value","TypeError","assertThisInitialized"],"sources":["../../src/helpers/possibleConstructorReturn.ts"],"sourcesContent":["/* @minVersion 7.0.0-beta.0 */\n\nimport assertThisInitialized from \"./assertThisInitialized.ts\";\n\nexport default function _possibleConstructorReturn(\n  self: object | undefined,\n  value: unknown,\n) {\n  if (value && (typeof value === \"object\" || typeof value === \"function\")) {\n    return value;\n  } else if (value !== void 0) {\n    throw new TypeError(\n      \"Derived constructors may only return object or undefined\",\n    );\n  }\n\n  return assertThisInitialized(self);\n}\n"],"mappings":";;;;;;AAEA,IAAAA,sBAAA,GAAAC,OAAA;AAEe,SAASC,0BAA0BA,CAChDC,IAAwB,EACxBC,KAAc,EACd;EACA,IAAIA,KAAK,KAAK,OAAOA,KAAK,KAAK,QAAQ,IAAI,OAAOA,KAAK,KAAK,UAAU,CAAC,EAAE;IACvE,OAAOA,KAAK;EACd,CAAC,MAAM,IAAIA,KAAK,KAAK,KAAK,CAAC,EAAE;IAC3B,MAAM,IAAIC,SAAS,CACjB,0DACF,CAAC;EACH;EAEA,OAAO,IAAAC,8BAAqB,EAACH,IAAI,CAAC;AACpC","ignoreList":[]}

Version data entries

17 entries across 13 versions & 2 rubygems

Version Path
immosquare-cleaner-0.1.51 node_modules/jscodeshift/node_modules/@babel/core/node_modules/@babel/helpers/lib/helpers/possibleConstructorReturn.js.map
immosquare-cleaner-0.1.51 node_modules/@babel/helpers/lib/helpers/possibleConstructorReturn.js.map
immosquare-cleaner-0.1.50 node_modules/jscodeshift/node_modules/@babel/core/node_modules/@babel/helpers/lib/helpers/possibleConstructorReturn.js.map
immosquare-cleaner-0.1.50 node_modules/@babel/helpers/lib/helpers/possibleConstructorReturn.js.map
immosquare-cleaner-0.1.49 node_modules/@babel/helpers/lib/helpers/possibleConstructorReturn.js.map
immosquare-cleaner-0.1.49 node_modules/jscodeshift/node_modules/@babel/core/node_modules/@babel/helpers/lib/helpers/possibleConstructorReturn.js.map
immosquare-cleaner-0.1.48 node_modules/jscodeshift/node_modules/@babel/core/node_modules/@babel/helpers/lib/helpers/possibleConstructorReturn.js.map
immosquare-cleaner-0.1.48 node_modules/@babel/helpers/lib/helpers/possibleConstructorReturn.js.map
immosquare-cleaner-0.1.47 node_modules/@babel/helpers/lib/helpers/possibleConstructorReturn.js.map
immosquare-cleaner-0.1.46 node_modules/@babel/helpers/lib/helpers/possibleConstructorReturn.js.map
immosquare-cleaner-0.1.45 node_modules/@babel/helpers/lib/helpers/possibleConstructorReturn.js.map
immosquare-cleaner-0.1.44 node_modules/@babel/helpers/lib/helpers/possibleConstructorReturn.js.map
immosquare-cleaner-0.1.43 node_modules/@babel/helpers/lib/helpers/possibleConstructorReturn.js.map
immosquare-cleaner-0.1.42 node_modules/@babel/helpers/lib/helpers/possibleConstructorReturn.js.map
immosquare-cleaner-0.1.41 node_modules/@babel/helpers/lib/helpers/possibleConstructorReturn.js.map
immosquare-cleaner-0.1.40 node_modules/@babel/helpers/lib/helpers/possibleConstructorReturn.js.map
wice_grid-7.1.0 node_modules/@babel/helpers/lib/helpers/possibleConstructorReturn.js.map