x4js - v2.2.49
    Preparing search index...
    interface Environment {
        baseUrl?: string;
        globalAPI?: boolean;
        createTrustedTypesPolicy?(
            policyName: string,
            policyOptions?: ITrustedTypePolicyOptions,
        ): ITrustedTypePolicy;
        getWorker?(workerId: string, label: string): Worker | Promise<Worker>;
        getWorkerUrl?(workerId: string, label: string): string;
    }
    Index
    baseUrl?: string

    The base url where the editor sources are found (which contains the vs folder)

    globalAPI?: boolean

    Define a global monaco symbol. This is true by default in AMD and false by default in ESM.

    • A web worker factory. NOTE: If getWorker is defined, getWorkerUrl is not invoked.

      Parameters

      • workerId: string
      • label: string

      Returns Worker | Promise<Worker>

    • Return the location for web worker scripts. NOTE: If getWorker is defined, getWorkerUrl is not invoked.

      Parameters

      • workerId: string
      • label: string

      Returns string