Skip to content

Commit

Permalink
fix: import types from document_loader/web/html
Browse files Browse the repository at this point in the history
  • Loading branch information
philnash committed Nov 13, 2024
1 parent 5bfd07d commit a95276c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import type {
import { Document } from "@langchain/core/documents";
import { AsyncCaller } from "@langchain/core/utils/async_caller";
import { BaseDocumentLoader } from "@langchain/core/document_loaders/base";
import { WebBaseLoaderParams, WebBaseLoader } from "./html.js";
import type { WebBaseLoaderParams, WebBaseLoader } from "./html.js";

/**
* @deprecated Either import the CheerioWebBaseLoaderParams from @langchain/community/document_loaders/web/cheerio
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { CheerioWebBaseLoader, CheerioWebBaseLoaderParams } from "./cheerio.js";
/**
* Interface representing the parameters for initializing a SitemapLoader.
* @interface SitemapLoaderParams
* @extends WebBaseLoaderParams
* @extends CheerioWebBaseLoaderParams
*/
export interface SitemapLoaderParams extends CheerioWebBaseLoaderParams {
/**
Expand Down

0 comments on commit a95276c

Please sign in to comment.