• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1//// [importNotElidedWhenNotFound.ts]
2import X from 'file';
3import Z from 'other_file';
4
5class Y extends Z {
6  constructor() {
7    super(X);
8  }
9}
10
11import X2 from 'file2';
12import X3 from 'file3';
13class Q extends Z {
14  constructor() {
15    super(X2, X3);
16  }
17}
18
19
20//// [importNotElidedWhenNotFound.js]
21"use strict";
22var __extends = (this && this.__extends) || (function () {
23    var extendStatics = function (d, b) {
24        extendStatics = Object.setPrototypeOf ||
25            ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
26            function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
27        return extendStatics(d, b);
28    };
29    return function (d, b) {
30        if (typeof b !== "function" && b !== null)
31            throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
32        extendStatics(d, b);
33        function __() { this.constructor = d; }
34        d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
35    };
36})();
37exports.__esModule = true;
38var file_1 = require("file");
39var other_file_1 = require("other_file");
40var Y = /** @class */ (function (_super) {
41    __extends(Y, _super);
42    function Y() {
43        return _super.call(this, file_1["default"]) || this;
44    }
45    return Y;
46}(other_file_1["default"]));
47var file2_1 = require("file2");
48var file3_1 = require("file3");
49var Q = /** @class */ (function (_super) {
50    __extends(Q, _super);
51    function Q() {
52        return _super.call(this, file2_1["default"], file3_1["default"]) || this;
53    }
54    return Q;
55}(other_file_1["default"]));
56