@glint/core
Version:
A CLI for performing typechecking on Glimmer templates
14 lines • 826 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.SortImportsRequest = exports.GetIRRequest = void 0;
const vscode_languageserver_1 = require("vscode-languageserver");
exports.GetIRRequest = makeRequestType('glint/getIR', (vscode_languageserver_1.ProtocolRequestType));
exports.SortImportsRequest = makeRequestType('glint/sortImports', (vscode_languageserver_1.ProtocolRequestType));
// This utility allows us to encode type information to enforce that we're using
// a valid request name along with its associated param/response types without
// actually requring the runtime code here to be imported elsewhere.
// See `requestKey` in the Code extension.
function makeRequestType(name, RequestType) {
return { name, type: new RequestType(name) };
}
//# sourceMappingURL=messages.cjs.map