Browse Source

ignore: update AGENTS.md to state that inference should be used

Aiden Cline 2 months ago
parent
commit
022265829e
1 changed files with 1 additions and 0 deletions
  1. 1 0
      AGENTS.md

+ 1 - 0
AGENTS.md

@@ -10,6 +10,7 @@
 - Avoid using the `any` type
 - Prefer single word variable names where possible
 - Use Bun APIs when possible, like `Bun.file()`
+- Rely on type inference when possible; avoid explicit type annotations or interfaces unless necessary for exports or clarity
 
 ### Avoid let statements