How to use the __extends function from tslib
Find comprehensive JavaScript tslib.__extends code examples handpicked from public code repositorys.
2405 2406 2407 2408 2409 2410 2411 2412 2413 2414
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN * THE SOFTWARE. */ var DateEqualityPredicate = /** @class */ (function (_super) { tslib.__extends(DateEqualityPredicate, _super); function DateEqualityPredicate(date) { var _this = _super.call(this) || this; _this.date = date; return _this;
2
8
2
+ 35 other calls in file
39 40 41 42 43 44 45 46 47 48
} }; } exports.createCheckVisibility = createCheckVisibility; var CheckVisibilityExtension = /** @class */ (function (_super) { tslib_1.__extends(CheckVisibilityExtension, _super); function CheckVisibilityExtension() { return _super !== null && _super.apply(this, arguments) || this; } CheckVisibilityExtension.prototype.extension = function () {
0
2
1
+ 2 other calls in file
3 4 5 6 7 8 9 10 11 12
var tslib_1 = require("tslib"); var lodash_1 = require("lodash"); var basic_extension_1 = require("../basic/basic.extension"); var calculator_constant_1 = require("../constant/calculator.constant"); var DataSourceExtension = /** @class */ (function (_super) { tslib_1.__extends(DataSourceExtension, _super); function DataSourceExtension() { return _super !== null && _super.apply(this, arguments) || this; } DataSourceExtension.prototype.extension = function () {
0
2
1
+ 2 other calls in file
6 7 8 9 10 11 12 13 14 15
var builder_model_1 = require("../../builder/builder-model"); var utility_1 = require("../../utility"); var basic_extension_1 = require("../basic/basic.extension"); var calculator_constant_1 = require("../constant/calculator.constant"); var InstanceExtension = /** @class */ (function (_super) { tslib_1.__extends(InstanceExtension, _super); function InstanceExtension() { var _this = _super !== null && _super.apply(this, arguments) || this; _this.buildFieldList = []; return _this;
0
2
1
+ 2 other calls in file
33 34 35 36 37 38 39 40 41 42
callbackQ.shift()(); } preact.options.debounceRendering = oldDebounceRendering; } var FakeComponent = /** @class */ (function (_super) { tslib.__extends(FakeComponent, _super); function FakeComponent() { return _super !== null && _super.apply(this, arguments) || this; } FakeComponent.prototype.render = function () { return preact.createElement('div', {}); };
0
0
1
+ 66 other calls in file
8696 8697 8698 8699 8700 8701 8702 8703 8704 8705 8706
scrollerClientWidths: isPropsEqual, scrollerClientHeights: isPropsEqual, }); var EventRoot = /** @class */ (function (_super) { tslib.__extends(EventRoot, _super); function EventRoot() { var _this = _super !== null && _super.apply(this, arguments) || this; _this.elRef = vdom_cjs.createRef(); return _this;
0
0
1
+ 1875 other calls in file
379 380 381 382 383 384 385 386 387 388 389
}; return TimeColsSlatsCoords; }()); var TimeColsSlatsBody = /** @class */ (function (_super) { tslib.__extends(TimeColsSlatsBody, _super); function TimeColsSlatsBody() { return _super !== null && _super.apply(this, arguments) || this; } TimeColsSlatsBody.prototype.render = function () {
0
0
1
+ 27 other calls in file
1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081
} return { snapDuration: snapDuration, snapsPerSlot: snapsPerSlot }; } var DayTimeColsSlicer = /** @class */ (function (_super) { tslib.__extends(DayTimeColsSlicer, _super); function DayTimeColsSlicer() { return _super !== null && _super.apply(this, arguments) || this; } DayTimeColsSlicer.prototype.sliceRange = function (range, dayRanges) {
0
0
1
+ 27 other calls in file
9 10 11 12 13 14 15 16 17 18 19
var common = require('@fullcalendar/common'); var tslib = require('tslib'); ; var ListViewHeaderRow = /** @class */ (function (_super) { tslib.__extends(ListViewHeaderRow, _super); function ListViewHeaderRow() { var _this = _super !== null && _super.apply(this, arguments) || this; _this.state = { textId: common.getUniqueDomId(),
0
0
1
+ 5 other calls in file
733 734 735 736 737 738 739 740 741 742 743
}; return TimeColEvent; }(common.BaseComponent)); var TimeColMisc = /** @class */ (function (_super) { tslib.__extends(TimeColMisc, _super); function TimeColMisc() { return _super !== null && _super.apply(this, arguments) || this; } TimeColMisc.prototype.render = function () {
0
0
1
+ 27 other calls in file
81 82 83 84 85 86 87 88 89 90
}; return Rule; }(Lint.Rules.AbstractRule)); exports.Rule = Rule; var TypedefWalker = /** @class */ (function (_super) { tslib_1.__extends(TypedefWalker, _super); function TypedefWalker() { return _super !== null && _super.apply(this, arguments) || this; } TypedefWalker.prototype.walk = function (sourceFile) {
0
0
1
GitHub: LivailleDev/lab-ig2
19 20 21 22 23 24 25 26 27 28
return new ArrayType(elemType); }; return BaseType; }()); var ArrayType = /** @class */ (function (_super) { tslib_1.__extends(ArrayType, _super); function ArrayType(elemType) { var _this = _super.call(this) || this; _this.elemType = elemType; _this.kind = "ArrayType";
0
0
2
+ 11 other calls in file
45 46 47 48 49 50 51 52 53 54
Rule.FAILURE_STRING = "Unsafe use of expression of type 'any'."; return Rule; }(Lint.Rules.TypedRule)); exports.Rule = Rule; var NoUnsafeAnyWalker = /** @class */ (function (_super) { tslib_1.__extends(NoUnsafeAnyWalker, _super); function NoUnsafeAnyWalker(sourceFile, ruleName, checker) { var _this = _super.call(this, sourceFile, ruleName, undefined) || this; _this.checker = checker; /** Wraps `visitNode` with the correct `this` binding and discards the return value to prevent `forEachChild` from returning early */
0
0
1
+ 15 other calls in file
59 60 61 62 63 64 65 66 67 68
Rule.INCONSISTENT_PROPERTY = "All property names in this object literal must be consistently quoted or unquoted."; return Rule; }(Lint.Rules.AbstractRule)); exports.Rule = Rule; var ObjectLiteralKeyQuotesWalker = /** @class */ (function (_super) { tslib_1.__extends(ObjectLiteralKeyQuotesWalker, _super); function ObjectLiteralKeyQuotesWalker() { return _super !== null && _super.apply(this, arguments) || this; } ObjectLiteralKeyQuotesWalker.prototype.walk = function (sourceFile) {
0
0
1
+ 15 other calls in file
42 43 44 45 46 47 48 49 50 51
Rule.FAILURE_STRING = "When chaining calls, put method calls on new lines."; return Rule; }(Lint.Rules.AbstractRule)); exports.Rule = Rule; var NewlinePerChainedCallWalker = /** @class */ (function (_super) { tslib_1.__extends(NewlinePerChainedCallWalker, _super); function NewlinePerChainedCallWalker() { return _super !== null && _super.apply(this, arguments) || this; } NewlinePerChainedCallWalker.prototype.walk = function (sourceFile) {
0
0
1
+ 17 other calls in file
tslib.__assign is the most popular function in tslib (16334 examples)