Skip to content

Commit 4f36236

Browse files
committed
note on types
1 parent 58ef546 commit 4f36236

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

CLAUDE.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,8 +115,7 @@ Key utilities in [addons/talo/utils/](addons/talo/utils/):
115115
## GDScript Standards
116116

117117
This project enforces **strict type safety** - all warnings are set to error level (2) in [project.godot](project.godot:24-58):
118-
- All variables must be explicitly typed (`var foo: String`)
119-
- No inferred declarations
118+
- All variables must be explicitly typed (`var foo: String`) unless their type can be easily inferred using the `:=` operator
120119
- No unsafe property/method access
121120
- No unsafe casts or call arguments
122121
- All function parameters and return types must be typed

0 commit comments

Comments
 (0)