Skip to content

Configuration

Most Targo projects only need to understand a few configuration files at first.

Main files

  • targo.json
  • tsconfig.json
  • tsconfig.targo.json
  • go.mod
  • types/

Useful mental model

  • targo.json controls Targo behavior
  • tsconfig.json mostly affects TypeScript and editor experience
  • tsconfig.targo.json reflects the current declaration bridge into the TS project
  • go.mod controls Go module identity and dependencies
  • types/ and vendored .targo/ are generated output, not hand-authored config

For precise configuration boundaries, read Configuration.