massive update, probably broken
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-json / node_modules / vscode-jsonrpc / lib / common / ral.js
1 "use strict";
2 /* --------------------------------------------------------------------------------------------
3  * Copyright (c) Microsoft Corporation. All rights reserved.
4  * Licensed under the MIT License. See License.txt in the project root for license information.
5  * ------------------------------------------------------------------------------------------ */
6 Object.defineProperty(exports, "__esModule", { value: true });
7 let _ral;
8 function RAL() {
9     if (_ral === undefined) {
10         throw new Error(`No runtime abstraction layer installed`);
11     }
12     return _ral;
13 }
14 (function (RAL) {
15     function install(ral) {
16         if (ral === undefined) {
17             throw new Error(`No runtime abstraction layer provided`);
18         }
19         _ral = ral;
20     }
21     RAL.install = install;
22 })(RAL || (RAL = {}));
23 exports.default = RAL;
24 //# sourceMappingURL=ral.js.map