Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion frontend/typescript/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ last_updated: 2026-03-29
> **Context:** Handling data of an uncertain type. `any` disables all type-checking, while `unknown` forces safety.
### ❌ Bad Practice
```typescript
function process(data: unknown) {
function process(data: any) {
console.log(data.name); // No error, but might crash at runtime
}
```
Expand Down
2 changes: 1 addition & 1 deletion frontend/typescript/types-interfaces.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ last_updated: 2026-04-05
> **Context:** Handling data of an uncertain type. `any` disables all type-checking, while `unknown` forces safety.
### ❌ Bad Practice
```typescript
function process(data: unknown) {
function process(data: any) {
console.log(data.name); // No error, but might crash at runtime
}
```
Expand Down
Loading