Skip to content

Commit 608a99a

Browse files
Merge pull request #7387 from BitGo/WP-000000/claude-instructions
chore: type guidance for ai
2 parents 64a2c84 + b2a2ce8 commit 608a99a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

CLAUDE.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,9 @@ yarn compile-dbg
7070
### Commits
7171
BitGoJS uses conventional commits. All commits MUST pass the spec described in `commitlint.config.js`.
7272

73+
### TypeScript Guidelines
74+
- **Avoid `any` type**: Use specific types, interfaces, or union types instead of `any`. If absolutely necessary, prefer `unknown` and use type guards for safety.
75+
7376
## Code Architecture
7477

7578
BitGoJS is a monorepo composed of multiple modules, each implementing specific functionality:

0 commit comments

Comments
 (0)