pineconeIndex type error. The issue does not occur with v3.0.3
Error information
Type 'import("/Users/kirandash/workspace/bgwebagency/ai-web-apps/node_modules/@pinecone-database/pinecone/dist/data/index").Index<import("/Users/kirandash/workspace/bgwebagency/ai-web-apps/node_modules/@pinecone-database/pinecone/dist/data/vectors/types").RecordMetadata>' is not assignable to type 'import("/Users/kirandash/workspace/bgwebagency/ai-web-apps/node_modules/@langchain/pinecone/node_modules/@pinecone-database/pinecone/dist/data/index").Index<import("/Users/kirandash/workspace/bgwebagency/ai-web-apps/node_modules/@langchain/pinecone/node_modules/@pinecone-database/pinecone/dist/data/types").RecordMet...'.
Types have separate declarations of a private property 'config'.
Steps to reproduce the issue locally
- install the following packages
"@langchain/community": "^0.3.6",
"@langchain/openai": "^0.3.11",
"@langchain/pinecone": "^0.1.1",
"@langchain/redis": "^0.1.0",
"@pinecone-database/pinecone": "^4.0.0",

My code:
const vectorStore = await PineconeStore.fromExistingIndex(embeddings, {
pineconeIndex,
maxConcurrency: 5,
});
pineconeIndextype error. The issue does not occur withv3.0.3Error information
Steps to reproduce the issue locally
My code: