var n = Object.defineProperty;
var e = (r, t) => n(r, "name", { value: t, configurable: !0 });
import { linter as i } from "../../../../../../@codemirror_lint@6.8.5/node_modules/@codemirror/lint/dist/index.js";
import { tsFacetWorker as s } from "../facet/tsFacetWorker.js";
function p({ diagnosticCodesToIgnore: r } = {}) {
  return i(async (t) => {
    const o = t.state.facet(s);
    return o?.worker ? o.worker.getLints({
      path: o.path,
      diagnosticCodesToIgnore: r || []
    }) : [];
  });
}
e(p, "tsLinterWorker");
export {
  p as tsLinterWorker
};
