Skip to content

Commit

Permalink
lint fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
nick-w-nick committed Dec 19, 2024
1 parent 10523ae commit d538d8b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions langchain-core/src/structured_query/tests/functional.test.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { test, expect } from "@jest/globals";
import { Document } from "../../documents/document.js";
import { FunctionalTranslator } from "../functional.js";
import { Comparators, Visitor } from "../ir.js";
Expand Down Expand Up @@ -53,7 +54,7 @@ describe("FunctionalTranslator", () => {
boolean: true,
};

const validDocumentsByComparator: { [key in string]: Document<Record<string, any>>[] } = {
const validDocumentsByComparator: { [key in string]: Document<Record<string, unknown>>[] } = {
[Comparators.eq]: [
new Document({
pageContent: "",
Expand Down Expand Up @@ -132,7 +133,7 @@ describe("FunctionalTranslator", () => {
],
};

const invalidDocumentsByComparator: { [key in string]: Document<Record<string, any>>[] } = {
const invalidDocumentsByComparator: { [key in string]: Document<Record<string, unknown>>[] } = {
[Comparators.eq]: [
new Document({
pageContent: "",
Expand Down

0 comments on commit d538d8b

Please sign in to comment.