diff --git a/src/conversation.ts b/src/conversation.ts index c4ee97b..9164b92 100644 --- a/src/conversation.ts +++ b/src/conversation.ts @@ -30,8 +30,9 @@ import { resolver, } from "./utils.ts"; type MaybeArray = T | T[]; -// deno-lint-ignore ban-types -type StringWithSuggestions = (string & {}) | S; +type StringWithSuggestions = + | (string & Record) + | S; /** * A user-defined conversation builder function that can be turned into