How to use the __importDefault function from tslib
Find comprehensive JavaScript tslib.__importDefault code examples handpicked from public code repositorys.
GitHub: atls/tools
3 4 5 6 7 8 9 10 11 12
const tslib_1 = require("tslib"); const fslib_1 = require("@yarnpkg/fslib"); const https_1 = require("https"); const http_1 = require("http"); const micromatch_1 = tslib_1.__importDefault(require("micromatch")); const tunnel_1 = tslib_1.__importDefault(require("tunnel")); const url_1 = require("url"); const MessageName_1 = require("./MessageName"); const Report_1 = require("./Report"); const formatUtils = tslib_1.__importStar(require("./formatUtils"));
0
0
3
GitHub: LivailleDev/lab-ig2
0 1 2 3 4 5 6 7 8 9
"use strict";; Object.defineProperty(exports, "__esModule", { value: true }); var tslib_1 = require("tslib"); var es_proposals_1 = tslib_1.__importDefault(require("./es-proposals")); var type_annotations_1 = tslib_1.__importDefault(require("./type-annotations")); var types_1 = tslib_1.__importDefault(require("../lib/types")); var shared_1 = tslib_1.__importDefault(require("../lib/shared")); function default_1(fork) { fork.use(es_proposals_1.default); fork.use(type_annotations_1.default);
0
0
2
+ 7 other calls in file
950 951 952 953 954 955 956 957 958 959
const tslib_1 = require("tslib"); const BulletType_1 = require("../Contracts/BulletType"); const Explosion_1 = require("../Effects/Explosion"); const index_1 = require("../index"); const Utils_1 = tslib_1.__importDefault(require("../Utils/Utils")); const GameModel_1 = tslib_1.__importDefault(require("./GameModel")); const GameUnit_1 = tslib_1.__importDefault(require("./GameUnit")); class Bullet extends GameUnit_1.default { constructor(ownerX, ownerY, origin, container) { super(container);
0
0
1
+ 151 other calls in file
0 1 2 3 4 5 6 7 8 9
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.resolveDefaultsModeConfig = void 0; const tslib_1 = require("tslib"); const property_provider_1 = require("@aws-sdk/property-provider"); const bowser_1 = tslib_1.__importDefault(require("bowser")); const constants_1 = require("./constants"); const resolveDefaultsModeConfig = ({ defaultsMode, } = {}) => (0, property_provider_1.memoize)(async () => { const mode = typeof defaultsMode === "function" ? await defaultsMode() : defaultsMode; switch (mode === null || mode === void 0 ? void 0 : mode.toLowerCase()) {
0
0
1
1 2 3 4 5 6 7 8 9 10
Object.defineProperty(exports, "__esModule", { value: true }); exports.validateOptions = void 0; const tslib_1 = require("tslib"); const fs_1 = tslib_1.__importDefault(require("fs")); const path_1 = tslib_1.__importDefault(require("path")); const util_1 = tslib_1.__importDefault(require("util")); const utils_validation_1 = require("@docusaurus/utils-validation"); const parse_1 = require("./parse"); const logger_1 = tslib_1.__importDefault(require("./logger")); const lunr = require("../lunr.js");
0
0
1
+ 7 other calls in file
tslib.__assign is the most popular function in tslib (16334 examples)