/*! * Copyright 2019 acrazing . All rights reserved. * @since 2019-11-02 00:10:00 */ /** * Maxxton changes: MCMS-4647 fix blank page error caused by the target component not being ready for loading in webpack. This workaround makes sure it's available before marking it as ready. * * Our implementation changes the transformation output from: * * isReady(props) { return true && Boolean(__webpack_require__.m[this.resolve(props)]); }, * * to: * * isReady(props) { if ( true && Boolean(__webpack_require__.m[this.resolve(props)])) try { this.requireSync(props); return "true" == "true"; } catch (_a) { return "true" !== "true"; } return "true" !== "true"; }, */ import * as ts from 'typescript'; export declare function createIsReady(): ts.MethodDeclaration;