You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/server.toolsHostCreator.ts
+10-10Lines changed: 10 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -48,26 +48,26 @@ type ResolveOptions = {
48
48
*
49
49
* - Probes function exports at most once with toolOptions and never re-probes without options.
50
50
* - Supported export shapes:
51
-
* - A `default export` that is a function returning a tool tuple -> wraps and caches as a creator (with .toolName)
52
-
* - A `default export` that is a function returning an array of functions returning tool tuples -> no unwrapping, returns them directly
53
-
* - A `default export` that is an array of functions returning tool tuples -> no unwrapping, returns them directly
51
+
* - A `default export` that is a tool creator (function returning a tool tuple) -> wraps and caches as a creator (with .toolName)
52
+
* - A `default export` that is a function returning an array of tool creators (functions returning tool tuples) -> no unwrapping, returns them directly
53
+
* - A `default export` that is an array of tool creators (functions returning tool tuples) -> no unwrapping, returns them directly
54
54
*
55
55
* @example
56
-
* // A default export function returning a tool tuple
56
+
* // A default export creator (function returning a tool tuple)
0 commit comments