We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5ab789f commit 472b40cCopy full SHA for 472b40c
packages/ai/src/methods/chrome-adapter.ts
@@ -400,8 +400,7 @@ export function chromeAdapterFactory(
400
// Do not initialize a ChromeAdapter if we are not in hybrid mode.
401
if (typeof window !== 'undefined' && mode) {
402
return new ChromeAdapterImpl(
403
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
404
- (window as unknown as any).LanguageModel as LanguageModel,
+ (window as Window).LanguageModel as LanguageModel,
405
mode,
406
params
407
);
0 commit comments