add hw2
This commit is contained in:
15
node_modules/vscode-languageserver-protocol/lib/common/connection.js
generated
vendored
Normal file
15
node_modules/vscode-languageserver-protocol/lib/common/connection.js
generated
vendored
Normal file
@@ -0,0 +1,15 @@
|
||||
"use strict";
|
||||
/* --------------------------------------------------------------------------------------------
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT License. See License.txt in the project root for license information.
|
||||
* ------------------------------------------------------------------------------------------ */
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.createProtocolConnection = void 0;
|
||||
const vscode_jsonrpc_1 = require("vscode-jsonrpc");
|
||||
function createProtocolConnection(input, output, logger, options) {
|
||||
if (vscode_jsonrpc_1.ConnectionStrategy.is(options)) {
|
||||
options = { connectionStrategy: options };
|
||||
}
|
||||
return (0, vscode_jsonrpc_1.createMessageConnection)(input, output, logger, options);
|
||||
}
|
||||
exports.createProtocolConnection = createProtocolConnection;
|
||||
Reference in New Issue
Block a user