alibaba/pipcook

core: remove type assertion as possible

Open

#143 opened on Apr 27, 2020

 (3 comments) (0 reactions) (0 assignees)TypeScript (211 forks)github user discovery
coregood first issue

Repository metrics

Stars
 (2,595 stars)
PR merge metrics
 (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