1 | var _typeof = require("../helpers/typeof");
|
2 |
|
3 | function _possibleConstructorReturn(self, call) {
|
4 | if (call && (_typeof(call) === "object" || typeof call === "function")) {
|
5 | return call;
|
6 | }
|
7 |
|
8 | if (!self) {
|
9 | throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
10 | }
|
11 |
|
12 | return self;
|
13 | }
|
14 |
|
15 | module.exports = _possibleConstructorReturn; |
\ | No newline at end of file |