Skip to content

[JS] Genkit requires skipLibCheck to work #1591

@inlined

Description

@inlined

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

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingjs

Type

No type

Projects

Status

No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions