Skip to content

Commit b17762a

Browse files
fix(community): export type properly in duckduckgo_search (#9359)
Co-authored-by: Hunter Lovell <[email protected]>
1 parent 9909c58 commit b17762a

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

.changeset/chilly-kings-protect.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@langchain/community": patch
3+
---
4+
5+
fix(community): export type properly in duckduckgo_search

libs/langchain-community/src/tools/duckduckgo_search.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
import { Tool, ToolParams } from "@langchain/core/tools";
2-
import { search, SearchOptions } from "duck-duck-scrape";
2+
import { search, type SearchOptions } from "duck-duck-scrape";
33

44
export {
55
SafeSearchType,
6-
SearchOptions,
6+
type SearchOptions,
77
SearchTimeType,
88
} from "duck-duck-scrape";
99

0 commit comments

Comments
 (0)