@effect/language-service 0.0.7 → 0.0.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,8 +1,6 @@
1
1
  import ensureGetCallTrace from "@effect/language-service/diagnostics/ensureGetCallTrace";
2
2
  import noSyncWithConstant from "@effect/language-service/diagnostics/noSyncWithConstant";
3
- import removeCurryArrow from "@effect/language-service/diagnostics/removeCurryArrow";
4
3
  export default {
5
- removeCurryArrow,
6
4
  noSyncWithConstant,
7
5
  ensureGetCallTrace
8
6
  };
@@ -1 +1 @@
1
- {"version":3,"file":"index.mjs","mappings":"AAAA,OAAOA,kBAAkB,MAAM,yDAAyD;AACxF,OAAOC,kBAAkB,MAAM,yDAAyD;AACxF,OAAOC,gBAAgB,MAAM,uDAAuD;AAEpF,eAAe;EAAEA,gBAAgB;EAAED,kBAAkB;EAAED;AAAkB,CAAE","names":["ensureGetCallTrace","noSyncWithConstant","removeCurryArrow"],"sourceRoot":"","sources":["../../../src/diagnostics/index.ts"],"sourcesContent":[null]}
1
+ {"version":3,"file":"index.mjs","mappings":"AAAA,OAAOA,kBAAkB,MAAM,yDAAyD;AACxF,OAAOC,kBAAkB,MAAM,yDAAyD;AAExF,eAAe;EAAEA,kBAAkB;EAAED;AAAkB,CAAE","names":["ensureGetCallTrace","noSyncWithConstant"],"sourceRoot":"","sources":["../../../src/diagnostics/index.ts"],"sourcesContent":[null]}
@@ -0,0 +1,8 @@
1
+ import noCurryArrow from "@effect/language-service/eslint-rules/no-curry-arrow";
2
+ const rules = {
3
+ "no-curry-arrow": noCurryArrow
4
+ };
5
+ export default {
6
+ rules
7
+ };
8
+ //# sourceMappingURL=index.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.mjs","mappings":"AAAA,OAAOA,YAAY,MAAM,sDAAsD;AAE/E,MAAMC,KAAK,GAAG;EACZ,gBAAgB,EAAED;CACnB;AAED,eAAe;EACbC;CACD","names":["noCurryArrow","rules"],"sourceRoot":"","sources":["../../../src/eslint-rules/index.ts"],"sourcesContent":[null]}
@@ -0,0 +1,33 @@
1
+ import * as utils from "@effect/language-service/eslint-rules/utils";
2
+ import * as U from "@effect/language-service/utils";
3
+ import * as ts from "typescript/lib/tsserverlibrary";
4
+ export default /*#__PURE__*/utils.createRule({
5
+ create(context) {
6
+ const parserServices = utils.getParserServices(context);
7
+ return {
8
+ ArrowFunctionExpression(node) {
9
+ const tsNode = parserServices.esTreeNodeToTSNodeMap.get(node);
10
+ if (U.isCurryArrow(ts)(tsNode)) {
11
+ context.report({
12
+ messageId: "noCurryArrow",
13
+ node
14
+ });
15
+ }
16
+ }
17
+ };
18
+ },
19
+ name: "no-curry-arrow",
20
+ meta: {
21
+ docs: {
22
+ description: "There should be no curry arrow functions, like T.map((_) => log(_)) should be T.map(log) instead",
23
+ recommended: "warn"
24
+ },
25
+ messages: {
26
+ noCurryArrow: "There should be no curry arrow functions, like T.map((_) => log(_)) should be T.map(log) instead"
27
+ },
28
+ type: "suggestion",
29
+ schema: []
30
+ },
31
+ defaultOptions: []
32
+ });
33
+ //# sourceMappingURL=no-curry-arrow.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"no-curry-arrow.mjs","mappings":"AAAA,OAAO,KAAKA,KAAK,MAAM,6CAA6C;AACpE,OAAO,KAAKC,CAAC,MAAM,gCAAgC;AACnD,OAAO,KAAKC,EAAE,MAAM,gCAAgC;AAEpD,4BAAeF,KAAK,CAACG,UAAU,CAAC;EAC9BC,MAAM,CAACC,OAAO;IACZ,MAAMC,cAAc,GAAGN,KAAK,CAACO,iBAAiB,CAACF,OAAO,CAAC;IAEvD,OAAO;MACLG,uBAAuB,CAACC,IAAI;QAC1B,MAAMC,MAAM,GAAGJ,cAAc,CAACK,qBAAqB,CAACC,GAAG,CAACH,IAAI,CAAC;QAC7D,IAAIR,CAAC,CAACY,YAAY,CAACX,EAAE,CAAC,CAACQ,MAAM,CAAC,EAAE;UAC9BL,OAAO,CAACS,MAAM,CAAC;YACbC,SAAS,EAAE,cAAc;YACzBN;WACD,CAAC;;MAEN;KACD;EACH,CAAC;EACDO,IAAI,EAAE,gBAAgB;EACtBC,IAAI,EAAE;IACJC,IAAI,EAAE;MACJC,WAAW,EAAE,kGAAkG;MAC/GC,WAAW,EAAE;KACd;IACDC,QAAQ,EAAE;MACRC,YAAY,EAAE;KACf;IACDC,IAAI,EAAE,YAAY;IAClBC,MAAM,EAAE;GACT;EACDC,cAAc,EAAE;CACjB,CAAC","names":["utils","U","ts","createRule","create","context","parserServices","getParserServices","ArrowFunctionExpression","node","tsNode","esTreeNodeToTSNodeMap","get","isCurryArrow","report","messageId","name","meta","docs","description","recommended","messages","noCurryArrow","type","schema","defaultOptions"],"sourceRoot":"","sources":["../../../src/eslint-rules/no-curry-arrow.ts"],"sourcesContent":[null]}
@@ -0,0 +1,8 @@
1
+ /* eslint-disable @repo-tooling/dprint/dprint */
2
+ import { ESLintUtils } from "@typescript-eslint/utils";
3
+ const {
4
+ getParserServices
5
+ } = ESLintUtils;
6
+ const createRule = /*#__PURE__*/ESLintUtils.RuleCreator(name => `https://example.com/rule/${name}`);
7
+ export { getParserServices, createRule };
8
+ //# sourceMappingURL=utils.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"utils.mjs","mappings":"AAAA;AACA,SAASA,WAAW,QAAQ,0BAA0B;AAEtD,MAAM;EAACC;AAAiB,CAAC,GAAGD,WAAW;AAEvC,MAAME,UAAU,gBAAGF,WAAW,CAACG,WAAW,CACvCC,IAAI,IAAK,4BAA4BA,IAAI,EAAE,CAC7C;AAED,SAASH,iBAAiB,EAAEC,UAAU","names":["ESLintUtils","getParserServices","createRule","RuleCreator","name"],"sourceRoot":"","sources":["../../../src/eslint-rules/utils.ts"],"sourcesContent":[null]}
@@ -1,5 +1,4 @@
1
1
  declare const _default: {
2
- removeCurryArrow: import("./definition").DiagnosticDefinition;
3
2
  noSyncWithConstant: import("./definition").DiagnosticDefinition;
4
3
  ensureGetCallTrace: import("./definition").DiagnosticDefinition;
5
4
  };
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/diagnostics/index.ts"],"names":[],"mappings":";;;;;AAIA,wBAA2E"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/diagnostics/index.ts"],"names":[],"mappings":";;;;AAGA,wBAAyD"}
@@ -6,10 +6,8 @@ Object.defineProperty(exports, "__esModule", {
6
6
  exports.default = void 0;
7
7
  var _ensureGetCallTrace = /*#__PURE__*/_interopRequireDefault( /*#__PURE__*/require("@effect/language-service/diagnostics/ensureGetCallTrace"));
8
8
  var _noSyncWithConstant = /*#__PURE__*/_interopRequireDefault( /*#__PURE__*/require("@effect/language-service/diagnostics/noSyncWithConstant"));
9
- var _removeCurryArrow = /*#__PURE__*/_interopRequireDefault( /*#__PURE__*/require("@effect/language-service/diagnostics/removeCurryArrow"));
10
9
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
11
10
  var _default = {
12
- removeCurryArrow: _removeCurryArrow.default,
13
11
  noSyncWithConstant: _noSyncWithConstant.default,
14
12
  ensureGetCallTrace: _ensureGetCallTrace.default
15
13
  };
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","mappings":";;;;;;AAAA;AACA;AACA;AAAoF;AAAA,eAErE;EAAEA,gBAAgB,EAAhBA,yBAAgB;EAAEC,kBAAkB,EAAlBA,2BAAkB;EAAEC,kBAAkB,EAAlBA;AAAkB,CAAE;AAAA","names":["removeCurryArrow","noSyncWithConstant","ensureGetCallTrace"],"sourceRoot":"","sources":["../../../src/diagnostics/index.ts"],"sourcesContent":[null]}
1
+ {"version":3,"file":"index.js","mappings":";;;;;;AAAA;AACA;AAAwF;AAAA,eAEzE;EAAEA,kBAAkB,EAAlBA,2BAAkB;EAAEC,kBAAkB,EAAlBA;AAAkB,CAAE;AAAA","names":["noSyncWithConstant","ensureGetCallTrace"],"sourceRoot":"","sources":["../../../src/diagnostics/index.ts"],"sourcesContent":[null]}
@@ -0,0 +1,9 @@
1
+ declare const _default: {
2
+ rules: {
3
+ "no-curry-arrow": import("@typescript-eslint/utils/dist/ts-eslint/Rule").RuleModule<"noCurryArrow", never[], {
4
+ ArrowFunctionExpression(node: import("@typescript-eslint/types/dist/generated/ast-spec").ArrowFunctionExpression): void;
5
+ }>;
6
+ };
7
+ };
8
+ export default _default;
9
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/eslint-rules/index.ts"],"names":[],"mappings":";;;;;;;AAMA,wBAEC"}
@@ -0,0 +1,16 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.default = void 0;
7
+ var _noCurryArrow = /*#__PURE__*/_interopRequireDefault( /*#__PURE__*/require("@effect/language-service/eslint-rules/no-curry-arrow"));
8
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
9
+ const rules = {
10
+ "no-curry-arrow": _noCurryArrow.default
11
+ };
12
+ var _default = {
13
+ rules
14
+ };
15
+ exports.default = _default;
16
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","mappings":";;;;;;AAAA;AAA+E;AAE/E,MAAMA,KAAK,GAAG;EACZ,gBAAgB,EAAEC;CACnB;AAAA,eAEc;EACbD;CACD;AAAA","names":["rules","noCurryArrow"],"sourceRoot":"","sources":["../../../src/eslint-rules/index.ts"],"sourcesContent":[null]}
@@ -0,0 +1,5 @@
1
+ declare const _default: import("@typescript-eslint/utils/dist/ts-eslint/Rule").RuleModule<"noCurryArrow", never[], {
2
+ ArrowFunctionExpression(node: import("@typescript-eslint/types/dist/generated/ast-spec").ArrowFunctionExpression): void;
3
+ }>;
4
+ export default _default;
5
+ //# sourceMappingURL=no-curry-arrow.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"no-curry-arrow.d.ts","sourceRoot":"","sources":["../../../src/eslint-rules/no-curry-arrow.ts"],"names":[],"mappings":";;;AAIA,wBA6BE"}
@@ -4,24 +4,39 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.default = void 0;
7
- var T = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("@effect/io/Effect"));
8
- var AST = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("@effect/language-service/ast"));
9
- var _definition = /*#__PURE__*/require("@effect/language-service/diagnostics/definition");
10
- var _utils = /*#__PURE__*/require("@effect/language-service/utils");
11
- var Ch = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("@fp-ts/data/Chunk"));
12
- var _Function = /*#__PURE__*/require("@fp-ts/data/Function");
7
+ var utils = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("@effect/language-service/eslint-rules/utils"));
8
+ var U = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("@effect/language-service/utils"));
9
+ var ts = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("typescript/lib/tsserverlibrary"));
13
10
  function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
14
11
  function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
15
- var _default = /*#__PURE__*/(0, _definition.createDiagnostic)({
16
- code: 1001,
17
- category: "suggestion",
18
- apply: sourceFile => T.gen(function* ($) {
19
- const ts = yield* $(T.service(AST.TypeScriptApi));
20
- return (0, _Function.pipe)(AST.collectAll(ts)(sourceFile, (0, _utils.isCurryArrow)(ts)), Ch.map(node => ({
21
- node,
22
- messageText: "This arrow function may be not needed."
23
- })));
24
- })
12
+ var _default = /*#__PURE__*/utils.createRule({
13
+ create(context) {
14
+ const parserServices = utils.getParserServices(context);
15
+ return {
16
+ ArrowFunctionExpression(node) {
17
+ const tsNode = parserServices.esTreeNodeToTSNodeMap.get(node);
18
+ if (U.isCurryArrow(ts)(tsNode)) {
19
+ context.report({
20
+ messageId: "noCurryArrow",
21
+ node
22
+ });
23
+ }
24
+ }
25
+ };
26
+ },
27
+ name: "no-curry-arrow",
28
+ meta: {
29
+ docs: {
30
+ description: "There should be no curry arrow functions, like T.map((_) => log(_)) should be T.map(log) instead",
31
+ recommended: "warn"
32
+ },
33
+ messages: {
34
+ noCurryArrow: "There should be no curry arrow functions, like T.map((_) => log(_)) should be T.map(log) instead"
35
+ },
36
+ type: "suggestion",
37
+ schema: []
38
+ },
39
+ defaultOptions: []
25
40
  });
26
41
  exports.default = _default;
27
- //# sourceMappingURL=removeCurryArrow.js.map
42
+ //# sourceMappingURL=no-curry-arrow.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"no-curry-arrow.js","mappings":";;;;;;AAAA;AACA;AACA;AAAoD;AAAA;AAAA,4BAErCA,KAAK,CAACC,UAAU,CAAC;EAC9BC,MAAM,CAACC,OAAO;IACZ,MAAMC,cAAc,GAAGJ,KAAK,CAACK,iBAAiB,CAACF,OAAO,CAAC;IAEvD,OAAO;MACLG,uBAAuB,CAACC,IAAI;QAC1B,MAAMC,MAAM,GAAGJ,cAAc,CAACK,qBAAqB,CAACC,GAAG,CAACH,IAAI,CAAC;QAC7D,IAAII,CAAC,CAACC,YAAY,CAACC,EAAE,CAAC,CAACL,MAAM,CAAC,EAAE;UAC9BL,OAAO,CAACW,MAAM,CAAC;YACbC,SAAS,EAAE,cAAc;YACzBR;WACD,CAAC;;MAEN;KACD;EACH,CAAC;EACDS,IAAI,EAAE,gBAAgB;EACtBC,IAAI,EAAE;IACJC,IAAI,EAAE;MACJC,WAAW,EAAE,kGAAkG;MAC/GC,WAAW,EAAE;KACd;IACDC,QAAQ,EAAE;MACRC,YAAY,EAAE;KACf;IACDC,IAAI,EAAE,YAAY;IAClBC,MAAM,EAAE;GACT;EACDC,cAAc,EAAE;CACjB,CAAC;AAAA","names":["utils","createRule","create","context","parserServices","getParserServices","ArrowFunctionExpression","node","tsNode","esTreeNodeToTSNodeMap","get","U","isCurryArrow","ts","report","messageId","name","meta","docs","description","recommended","messages","noCurryArrow","type","schema","defaultOptions"],"sourceRoot":"","sources":["../../../src/eslint-rules/no-curry-arrow.ts"],"sourcesContent":[null]}
@@ -0,0 +1,5 @@
1
+ import { ESLintUtils } from "@typescript-eslint/utils";
2
+ declare const getParserServices: typeof ESLintUtils.getParserServices;
3
+ declare const createRule: <TOptions extends readonly unknown[], TMessageIds extends string, TRuleListener extends import("@typescript-eslint/utils/dist/ts-eslint/Rule").RuleListener = import("@typescript-eslint/utils/dist/ts-eslint/Rule").RuleListener>({ name, meta, ...rule }: Readonly<ESLintUtils.RuleWithMetaAndName<TOptions, TMessageIds, TRuleListener>>) => import("@typescript-eslint/utils/dist/ts-eslint/Rule").RuleModule<TMessageIds, TOptions, TRuleListener>;
4
+ export { getParserServices, createRule };
5
+ //# sourceMappingURL=utils.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../src/eslint-rules/utils.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAA;AAEtD,QAAA,MAAO,iBAAiB,sCAAe,CAAA;AAEvC,QAAA,MAAM,UAAU,ybAEf,CAAA;AAED,OAAO,EAAE,iBAAiB,EAAE,UAAU,EAAC,CAAA"}
@@ -0,0 +1,16 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.getParserServices = exports.createRule = void 0;
7
+ var _utils = /*#__PURE__*/require("@typescript-eslint/utils");
8
+ /* eslint-disable @repo-tooling/dprint/dprint */
9
+
10
+ const {
11
+ getParserServices
12
+ } = _utils.ESLintUtils;
13
+ exports.getParserServices = getParserServices;
14
+ const createRule = /*#__PURE__*/_utils.ESLintUtils.RuleCreator(name => `https://example.com/rule/${name}`);
15
+ exports.createRule = createRule;
16
+ //# sourceMappingURL=utils.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"utils.js","mappings":";;;;;;AACA;AADA;;AAGA,MAAM;EAACA;AAAiB,CAAC,GAAGC,kBAAW;AAAA;AAEvC,MAAMC,UAAU,gBAAGD,kBAAW,CAACE,WAAW,CACvCC,IAAI,IAAK,4BAA4BA,IAAI,EAAE,CAC7C;AAAA","names":["getParserServices","ESLintUtils","createRule","RuleCreator","name"],"sourceRoot":"","sources":["../../../src/eslint-rules/utils.ts"],"sourcesContent":[null]}
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "@effect/language-service",
3
- "version": "0.0.7",
3
+ "version": "0.0.9",
4
4
  "license": "MIT",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/Effect-TS/language-service.git"
8
8
  },
9
9
  "dependencies": {
10
- "@effect/io": "^0.0.28",
10
+ "@effect/io": "^0.0.29",
11
11
  "@effect/printer": "^0.1.7",
12
12
  "@fp-ts/core": "^0.0.9",
13
13
  "@fp-ts/data": "^0.0.19"
@@ -1,18 +0,0 @@
1
- import * as T from "@effect/io/Effect";
2
- import * as AST from "@effect/language-service/ast";
3
- import { createDiagnostic } from "@effect/language-service/diagnostics/definition";
4
- import { isCurryArrow } from "@effect/language-service/utils";
5
- import * as Ch from "@fp-ts/data/Chunk";
6
- import { pipe } from "@fp-ts/data/Function";
7
- export default /*#__PURE__*/createDiagnostic({
8
- code: 1001,
9
- category: "suggestion",
10
- apply: sourceFile => T.gen(function* ($) {
11
- const ts = yield* $(T.service(AST.TypeScriptApi));
12
- return pipe(AST.collectAll(ts)(sourceFile, isCurryArrow(ts)), Ch.map(node => ({
13
- node,
14
- messageText: "This arrow function may be not needed."
15
- })));
16
- })
17
- });
18
- //# sourceMappingURL=removeCurryArrow.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"removeCurryArrow.mjs","mappings":"AAAA,OAAO,KAAKA,CAAC,MAAM,mBAAmB;AACtC,OAAO,KAAKC,GAAG,MAAM,8BAA8B;AACnD,SAASC,gBAAgB,QAAQ,iDAAiD;AAClF,SAASC,YAAY,QAAQ,gCAAgC;AAC7D,OAAO,KAAKC,EAAE,MAAM,mBAAmB;AACvC,SAASC,IAAI,QAAQ,sBAAsB;AAE3C,4BAAeH,gBAAgB,CAAC;EAC9BI,IAAI,EAAE,IAAI;EACVC,QAAQ,EAAE,YAAY;EACtBC,KAAK,EAAGC,UAAU,IAChBT,CAAC,CAACU,GAAG,CAAC,WAAUC,CAAC;IACf,MAAMC,EAAE,GAAG,OAAOD,CAAC,CAACX,CAAC,CAACa,OAAO,CAACZ,GAAG,CAACa,aAAa,CAAC,CAAC;IAEjD,OAAOT,IAAI,CACTJ,GAAG,CAACc,UAAU,CAACH,EAAE,CAAC,CAACH,UAAU,EAAEN,YAAY,CAACS,EAAE,CAAC,CAAC,EAChDR,EAAE,CAACY,GAAG,CAAEC,IAAI,KAAM;MAChBA,IAAI;MACJC,WAAW,EAAE;KACd,CAAC,CAAC,CACJ;EACH,CAAC;CACJ,CAAC","names":["T","AST","createDiagnostic","isCurryArrow","Ch","pipe","code","category","apply","sourceFile","gen","$","ts","service","TypeScriptApi","collectAll","map","node","messageText"],"sourceRoot":"","sources":["../../../src/diagnostics/removeCurryArrow.ts"],"sourcesContent":[null]}
@@ -1,3 +0,0 @@
1
- declare const _default: import("@effect/language-service/diagnostics/definition").DiagnosticDefinition;
2
- export default _default;
3
- //# sourceMappingURL=removeCurryArrow.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"removeCurryArrow.d.ts","sourceRoot":"","sources":["../../../src/diagnostics/removeCurryArrow.ts"],"names":[],"mappings":";AAOA,wBAeE"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"removeCurryArrow.js","mappings":";;;;;;AAAA;AACA;AACA;AACA;AACA;AACA;AAA2C;AAAA;AAAA,4BAE5B,gCAAgB,EAAC;EAC9BA,IAAI,EAAE,IAAI;EACVC,QAAQ,EAAE,YAAY;EACtBC,KAAK,EAAGC,UAAU,IAChBC,CAAC,CAACC,GAAG,CAAC,WAAUC,CAAC;IACf,MAAMC,EAAE,GAAG,OAAOD,CAAC,CAACF,CAAC,CAACI,OAAO,CAACC,GAAG,CAACC,aAAa,CAAC,CAAC;IAEjD,OAAO,kBAAI,EACTD,GAAG,CAACE,UAAU,CAACJ,EAAE,CAAC,CAACJ,UAAU,EAAE,uBAAY,EAACI,EAAE,CAAC,CAAC,EAChDK,EAAE,CAACC,GAAG,CAAEC,IAAI,KAAM;MAChBA,IAAI;MACJC,WAAW,EAAE;KACd,CAAC,CAAC,CACJ;EACH,CAAC;CACJ,CAAC;AAAA","names":["code","category","apply","sourceFile","T","gen","$","ts","service","AST","TypeScriptApi","collectAll","Ch","map","node","messageText"],"sourceRoot":"","sources":["../../../src/diagnostics/removeCurryArrow.ts"],"sourcesContent":[null]}