Language Detection
When you create a newCodebase instance, Codegen automatically detects the programming language:
Type System
Codegen uses specialized types for each language. These are defined as type aliases:TypeScript-Specific Features
Some features are only available in TypeScript codebases:- Types and Interfaces: TypeScript’s rich type system (
TSTypeAlias,TSInterface) - Exports: Module exports and re-exports (
TSExport) - JSX/TSX: React component handling (see React and JSX)