3 comments (3 comments)0 reactions (0 reactions)0 assignees (0 assignees)TypeScript211 forks (211 forks)github user discovery
coregood first issue
Repository metrics
- Stars
- 2,595 stars (2,595 stars)
- PR merge metrics
- No merged PRs in 30d (No merged PRs in 30d)
Description
Type assertion allows us to override TypeSciprt's inference, and we should avoid using them to solve type conflicts manually, which means we should be careful with the use of assertions
Refer to:
Contributor guide
- Research direction
- Search the codebase for 'as' type assertions, especially in core modules, and replace with proper type annotations or type guards to avoid overriding TypeScript's inference.
- Tech stack
- typescript
- Domain
- backenddeveloper experience
- Issue type
- Refactor
- Prerequisites
- TypeScript