Thanks for stopping by to let us know something could be better!
PLEASE READ: If you have a support contract with Google, please create an issue in the support console instead of filing on GitHub. This will ensure a timely response.
Is this a client library issue or a product issue? We will only be able to assist with issues that pertain to the behaviors of this library. If the issue you're experiencing is due to the behavior of the product itself, please visit the Support page to reach the most relevant engineers.
If the support paths suggested above still do not result in a resolution, please provide the following details.
Environment details
- Programming language:Node.js v20.18.1
- OS: Macos 14.6
- Language runtime version: v20.18.1
- Package version: latest
Steps to reproduce
-
define a obj like
const googleSearchRetrievalTool: GoogleSearchRetrievalTool = {
googleSearch: {},
};
-
error TS2353: Object literal may only specify known properties, and 'googleSearch' does not exist in type 'GoogleSearchRetrievalTool'.
125 |
126 | const googleSearchRetrievalTool: GoogleSearchRetrievalTool = {
127 | googleSearch: {},
| ^
128 | };
129 |
- i can hack my way around this but can the source code be updated
Making sure to follow these steps will guarantee the quickest resolution possible.
Thanks!
Thanks for stopping by to let us know something could be better!
PLEASE READ: If you have a support contract with Google, please create an issue in the support console instead of filing on GitHub. This will ensure a timely response.
Is this a client library issue or a product issue? We will only be able to assist with issues that pertain to the behaviors of this library. If the issue you're experiencing is due to the behavior of the product itself, please visit the Support page to reach the most relevant engineers.
If the support paths suggested above still do not result in a resolution, please provide the following details.
Environment details
Steps to reproduce
define a obj like
const googleSearchRetrievalTool: GoogleSearchRetrievalTool = {
googleSearch: {},
};
error TS2353: Object literal may only specify known properties, and 'googleSearch' does not exist in type 'GoogleSearchRetrievalTool'.
125 |
126 | const googleSearchRetrievalTool: GoogleSearchRetrievalTool = {
Making sure to follow these steps will guarantee the quickest resolution possible.
Thanks!