How to use tslib.__metadata:
GitHub: hwyn/dynamic-builder
145 146 147 148 149 150 151 152 153 154
return (0, utility_1.transformObservable)(executeHandler.apply(undefined, tslib_1.__spreadArray([action], otherEvent, true))); }; Action = tslib_1.__decorate([ tslib_1.__param(0, (0, di_1.Inject)(di_1.Injector)), tslib_1.__param(1, (0, di_1.Inject)(token_1.GET_TYPE)), tslib_1.__metadata("design:paramtypes", [di_1.Injector, Object]) ], Action); return Action; }()); exports.Action = Action;
How to use tslib.__decorate:
GitHub: hwyn/dynamic-builder
142 143 144 145 146 147 148 149 150 151
if (!executeHandler) { throw new Error("".concat(name, " not defined!")); } return (0, utility_1.transformObservable)(executeHandler.apply(undefined, tslib_1.__spreadArray([action], otherEvent, true))); }; Action = tslib_1.__decorate([ tslib_1.__param(0, (0, di_1.Inject)(di_1.Injector)), tslib_1.__param(1, (0, di_1.Inject)(token_1.GET_TYPE)), tslib_1.__metadata("design:paramtypes", [di_1.Injector, Object]) ], Action);
How to use tslib.__param:
GitHub: hwyn/dynamic-builder
143 144 145 146 147 148 149 150 151 152
throw new Error("".concat(name, " not defined!")); } return (0, utility_1.transformObservable)(executeHandler.apply(undefined, tslib_1.__spreadArray([action], otherEvent, true))); }; Action = tslib_1.__decorate([ tslib_1.__param(0, (0, di_1.Inject)(di_1.Injector)), tslib_1.__param(1, (0, di_1.Inject)(token_1.GET_TYPE)), tslib_1.__metadata("design:paramtypes", [di_1.Injector, Object]) ], Action); return Action;
How to use tslib.__asyncGenerator:
1327 1328 1329 1330 1331 1332 1333 1334 1335 1336
* * @param options The options for the listing operation. * @param cancellationToken An optional token used to cancel the asynchronous request. */ function listCreditsDailyUsages(restClientFactory, options, cancellationToken) { return tslib.__asyncGenerator(this, arguments, function listCreditsDailyUsages_1() { var restClient, listSegment, params, cursorParamName, _i, _a, fragment, response, _b, _c, item; return tslib.__generator(this, function (_d) { switch (_d.label) { case 0:
How to use tslib.__importStar:
2 3 4 5 6 7 8 9 10 11 12
* Licensed under the MIT License. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ 'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); const tslib_1 = require("tslib"); const assert = tslib_1.__importStar(require("assert")); const vscode_languageserver_1 = require("vscode-languageserver"); let connection = vscode_languageserver_1.createConnection(); let documents = new vscode_languageserver_1.TextDocuments();
How to use tslib.__spreadArray:
GitHub: hwyn/dynamic-builder
140 141 142 143 144 145 146 147 148 149
} } if (!executeHandler) { throw new Error("".concat(name, " not defined!")); } return (0, utility_1.transformObservable)(executeHandler.apply(undefined, tslib_1.__spreadArray([action], otherEvent, true))); }; Action = tslib_1.__decorate([ tslib_1.__param(0, (0, di_1.Inject)(di_1.Injector)), tslib_1.__param(1, (0, di_1.Inject)(token_1.GET_TYPE)),
How to use tslib.__await:
882 883 884 885 886 887 888 889 890 891
} } return [4 /*yield*/, tslib.__await(restClient.invoke('GET', "/email-validations", params, undefined, undefined, cancellationToken))]; case 2: response = _d.sent(); return [4 /*yield*/, tslib.__await(response.deserialize())]; case 3: // TODO: Check the response status code listSegment = _d.sent(); _b = 0, _c = listSegment.data;
How to use tslib.__makeTemplateObject:
49 50 51 52 53 54 55 56 57 58
}; /* tslint:disable:object-literal-sort-keys */ Rule.metadata = { ruleName: "typedef", description: "Requires type definitions to exist.", optionsDescription: Lint.Utils.dedent(templateObject_1 || (templateObject_1 = tslib_1.__makeTemplateObject(["\n Several arguments may be optionally provided:\n\n * `\"", "\"` checks return type of functions.\n * `\"", "\"` checks return type of arrow functions.\n * `\"", "\"` checks type specifier of function parameters for non-arrow functions.\n * `\"", "\"` checks type specifier of function parameters for arrow functions.\n * `\"", "\"` checks return types of interface properties.\n * `\"", "\"` checks non-binding variable declarations.\n * `\"", "\"` ignore variable declarations for non-arrow and arrow functions.\n * `\"", "\"` checks member variable declarations.\n * `\"", "\"` checks object destructuring declarations.\n * `\"", "\"` checks array destructuring declarations."], ["\n Several arguments may be optionally provided:\n\n * \\`\"", "\"\\` checks return type of functions.\n * \\`\"", "\"\\` checks return type of arrow functions.\n * \\`\"", "\"\\` checks type specifier of function parameters for non-arrow functions.\n * \\`\"", "\"\\` checks type specifier of function parameters for arrow functions.\n * \\`\"", "\"\\` checks return types of interface properties.\n * \\`\"", "\"\\` checks non-binding variable declarations.\n * \\`\"", "\"\\` ignore variable declarations for non-arrow and arrow functions.\n * \\`\"", "\"\\` checks member variable declarations.\n * \\`\"", "\"\\` checks object destructuring declarations.\n * \\`\"", "\"\\` checks array destructuring declarations."])), OPTION_CALL_SIGNATURE, OPTION_ARROW_CALL_SIGNATURE, OPTION_PARAMETER, OPTION_ARROW_PARAMETER, OPTION_PROPERTY_DECLARATION, OPTION_VARIABLE_DECLARATION, OPTION_VARIABLE_DECLARATION_IGNORE_FUNCTION, OPTION_MEMBER_VARIABLE_DECLARATION, OPTION_OBJECT_DESTRUCTURING, OPTION_ARRAY_DESTRUCTURING), options: { type: "array", items: { type: "string",
How to use tslib.__rest:
586 587 588 589 590 591 592 593 594 595
case 0: restClient = restClientFactory.build(); headers = {}; fillFormData = function () { var _a, _b; var file = request.file, settings = tslib.__rest(request, ["file"]); formData.append('inputFile', file, { contentType: request.contentType, filename: (_b = (_a = file.name) !== null && _a !== void 0 ? _a : file /* ReadStream */.filename) !== null && _b !== void 0 ? _b : 'file' });
How to use tslib.__generator:
153 154 155 156 157 158 159 160 161 162
* @param cancellationToken The eventual cancellation token for the waiting. */ WaitOptions.prototype.waitForNextPoll = function (validationOverview, cancellationToken) { return tslib.__awaiter(this, void 0, void 0, function () { var delay, timespanMatch, hours, minutes, seconds; return tslib.__generator(this, function (_a) { // Throws in the event the user requested to cancel a pending waiting if (cancellationToken) { cancellationToken.throwIfCancellationRequested(); }
How to use tslib.__importDefault:
How to use tslib.__awaiter:
151 152 153 154 155 156 157 158 159 160
* * @param validationOverview The validation overview to wait against. * @param cancellationToken The eventual cancellation token for the waiting. */ WaitOptions.prototype.waitForNextPoll = function (validationOverview, cancellationToken) { return tslib.__awaiter(this, void 0, void 0, function () { var delay, timespanMatch, hours, minutes, seconds; return tslib.__generator(this, function (_a) { // Throws in the event the user requested to cancel a pending waiting if (cancellationToken) {
How to use tslib.__spreadArrays:
2004 2005 2006 2007 2008 2009 2010 2011 2012 2013
VerifaliaRestClientFactory.prototype.build = function () { var _a; var _this = this; if (!this._cachedRestClient) { // Initial uris shuffling (see https://stackoverflow.com/a/12646864/904178) var shuffledUris = tslib.__spreadArrays(this._baseUris); for (var i = shuffledUris.length - 1; i > 0; i--) { var j = Math.floor(Math.random() * (i + 1)); _a = [shuffledUris[j], shuffledUris[i]], shuffledUris[i] = _a[0], shuffledUris[j] = _a[1]; }
How to use tslib.__extends:
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;
How to use tslib.__assign:
1839 1840 1841 1842 1843 1844 1845 1846 1847 1848
if (cancellationToken) { requestInit.signal = abortController.signal; } // Adds the user-agent header only if it has been specified (can't be forced in the browser) if (this_1._userAgent) { requestInit.headers = tslib.__assign(tslib.__assign({}, requestInit.headers), { 'User-Agent': this_1._userAgent }); } if (method === 'POST' || method === 'PUT') { requestInit.headers = tslib.__assign(tslib.__assign({}, requestInit.headers), { // Default posted MIME content type