Tristan Rechenberger
Tristan Rechenberger
related: #7576
I had the same issue after restarting Windows. Restarting Windows once again fixed it for me.
Hi guys! ✌️ We just wrote a tool to rename angular components. Check it out [https://www.npmjs.com/package/ng-rn](https://www.npmjs.com/package/ng-rn) Hope you like it 🙃
I could resolve this issue by making VSCode use the same typescript version as my app, defined in my package.json (in my case `"typescript": "^2.0.0"`). You can do so by...
@vapits i had to restart VSCode, but i guess you tried that. what happens if you run `node node_modules/typescript/lib/tsc.js -p ./src/tsconfig.json` ? (remove `/dist/` before to see if it compiles.)
I got it to work in an undocumented way: ```ts import { google } from '@ai-sdk/google' const response = await generateText({ model: vertexGlobal('gemini-2.5-flash'), prompt: 'When is the meeting between Trump...
I have upgraded all ai packages now and have only `@ai-sdk/[email protected]` in package-lock It fixed the ts error but still only works with the undocumented `google.tools.googleSearch({})` way
> [@rechenberger](https://github.com/rechenberger) is the `as any` still required? Nope. Worked fine without the any after making sure `@ai-sdk/provider-utils` was updated (i have 7 ai sdk providers in this project)
Thanks @lgrammel @dancer #8042 removes the documentation for the non-working `providerOptions`. However, maybe we should add a section explaining how to use the `google.tools.googleSearch` tool from the `@ai-sdk/google` package, or...