[JS] Genkit requires `skipLibCheck` to work
Author: inlinedCreated Jan 7, 2025Updated Sep 23, 2026
Labelsbugjs
Describe the bug
Consumers of Genkit must use skipLibCheck to use Genkit. This also affects authors of Genkit as turning on skipLibCheck has hidden compiler errors between packages in this workspace
To Reproduce
Use Genkit in an application that does not have skipLibCheck: true
Expected behavior Ideally, skipLibCheck is not forced onto our customers
Runtime (please complete the following information):
- OS: MacOS
- Version 14.7.2
Node version
- 22
Additional context Currently compiled with skipLibCheck off (will be updated as fixes are committed):
- genkit
- @genkit-ai/ai
- @genkit-ai/core
- @genkit-ai/checks
- @genkit-ai/chroma
- @genkit-ai/dev-local-vectorstore
- @genkit-ai/dotprompt
- @genkit-ai/evaluators
- @genkit-ai/express
- @genkit-ai/firebase
- @genkit-ai/google-cloud
- @genkit-ai/googleai
- @genkit-ai/langchain
- @genkit-ai/mcp
- @genkit-ai/ollama
- @genkit-ai/pinecone
- @genkit-ai/vertexai
Source: genkit-ai/genkit